Class Elu

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Elu : public mindspore::ops::BaseOperator

Calculate exponential linearity. Refer to Python API mindspore.ops.Elu for more details.

Public Functions

inline Elu()

Constructor.

void Init(const float alpha = 0.0)

Init. Refer to the parameters of Python API mindspore.ops.Elu for the inputs.

void set_alpha(const float alpha)

Set alpha.

float get_alpha() const

Get alpha.

返回

alpha.