Class ReLU

Inheritance Relationships

Base Type

Class Documentation

class ReLU : public mindspore::ops::PrimitiveC

Computes ReLU (Rectified Linear Unit activation function) of input tensors element-wise. Refer to Python API mindspore.ops.ReLU for more details.

Public Functions

inline ReLU()

Constructor.

~ReLU() = default

Destructor.

inline void Init()

Init.