Class Sub

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Derived Type

Class Documentation

class Sub : public mindspore::ops::BaseOperator

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.

inline void Init() const

Init.