Class ReLU6

Inheritance Relationships

Base Type

Class Documentation

class ReLU6 : public mindspore::ops::PrimitiveC

Computes ReLU (Rectified Linear Unit) upper bounded by 6 of input tensors element-wise. Refer to Python API mindspore.ops.ReLU6 for more details.

Public Functions

inline ReLU6()

Constructor.

~ReLU6() = default

Destructor.

inline void Init()

Init.