Home
last modified time | relevance | path

Searched refs:SoftShrink (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dsoft_shrink.h31 class MS_CORE_API SoftShrink : public PrimitiveC {
34 SoftShrink() : PrimitiveC(kNameSoftShrink) { InitIOName({"input_x"}, {"output"}); } in SoftShrink() function
36 ~SoftShrink() = default;
37 MS_DECLARE_PARENT(SoftShrink, PrimitiveC);
43 using PrimSoftShrinkPtr = std::shared_ptr<SoftShrink>;
Dsoft_shrink.cc61 REGISTER_PRIMITIVE_EVAL_IMPL(SoftShrink, prim::kPrimSoftShrink, SoftShrinkInfer, nullptr, true);
/third_party/mindspore/mindspore/nn/layer/
Dactivation.py765 class SoftShrink(Cell): class
806 super(SoftShrink, self).__init__()
807 self.softshrink = P.SoftShrink(lambd)
874 'softshrink': SoftShrink,
/third_party/mindspore/mindspore/ops/_grad_experimental/
Dgrad_nn_ops.py51 @bprop_getters.register(P.SoftShrink)
/third_party/mindspore/mindspore/ops/operations/
D__init__.py89 … ApplyRMSProp, ApplyCenteredRMSProp, BasicLSTMCell, InTopK, AdaptiveAvgPool2D, SoftShrink)
Dnn_ops.py8929 class SoftShrink(Primitive): class
/third_party/mindspore/tests/ut/python/ops/
Dtest_ops.py2266 'block': P.SoftShrink(),