Class Add

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Derived Type

Class Documentation

class Add : public mindspore::ops::BaseOperator

Adds two input tensors element-wise. Refer to Python API mindspore.ops.Add for more details.

Subclassed by mindspore::ops::AddFusion

Public Functions

inline Add()

Constructor.

inline void Init() const

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