Class Sub
Defined in File sub.h
Inheritance Relationships
Base Type
public mindspore::ops::PrimitiveC
(Class PrimitiveC)
Derived Type
public mindspore::ops::SubFusion
(Class SubFusion)
Class Documentation
-
class Sub : public mindspore::ops::PrimitiveC
Subtracts the second input tensor from the first input tensor element-wise. Refer to Python API mindspore.ops.Sub for more details.
Subclassed by mindspore::ops::SubFusion
Public Functions
-
inline Sub()
Constructor.
-
~Sub() = default
Destructor.
-
inline void Init()
Init.
-
inline Sub()