Class Add
Defined in File add.h
Inheritance Relationships
Base Type
public mindspore::ops::PrimitiveC
(Class PrimitiveC)
Derived Type
public mindspore::ops::AddFusion
(Class AddFusion)
Class Documentation
-
class Add : public mindspore::ops::PrimitiveC
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.
-
~Add() = default
Destructor.
-
inline void Init()
Init. Refer to the parameters of Python API mindspore.ops.Add for the inputs.
-
inline Add()