Class SoftShrink

Inheritance Relationships

Base Type

Class Documentation

class SoftShrink : public mindspore::ops::PrimitiveC

Applies the soft shrinkage function elementwise. Refer to Python API mindspore.ops.SoftShrink for more details.

Public Functions

inline SoftShrink()

Constructor.

~SoftShrink() = default

Destructor.