Add HardSigmoid && HardSwish && Swish Operator
Summary: This commit adds the hardsigmoid, hardswish and swish op with specialized kernel, there are widely used in MobileNetV3 and EfficientNet.
Showing
with
3110 additions
and
409 deletions
docs/api/python/dragon/nn/hardsigmoid.rst
0 → 100644
docs/api/python/dragon/nn/hardswish.rst
0 → 100644
docs/api/python/dragon/nn/swish.rst
0 → 100644
docs/api/python/tensorflow/nn/swish.rst
0 → 100644
docs/api/python/torch/full.rst
0 → 100644
docs/api/python/torch/full_like.rst
0 → 100644
docs/api/python/torch/neg.rst
0 → 100644
docs/api/python/torch/nn/Hardsigmoid.rst
0 → 100644
docs/api/python/torch/nn/Hardswish.rst
0 → 100644
docs/api/python/torch/nn/Swish.rst
0 → 100644
dragon/kernels/activation/swish_op_kernel.cc
0 → 100644
dragon/kernels/activation/swish_op_kernel.cu
0 → 100644
dragon/operators/activation/hardsigmoid_op.h
0 → 100644
dragon/operators/activation/hardswish_op.cc
0 → 100644
dragon/operators/activation/hardswish_op.h
0 → 100644
dragon/operators/activation/swish_op.cc
0 → 100644
dragon/operators/activation/swish_op.h
0 → 100644
-
Please register or sign in to post a comment