Class Identity
Defined in File identity.h
Inheritance Relationships
Base Type
public mindspore::ops::BaseOperator
Class Documentation
-
class Identity : public mindspore::ops::BaseOperator
Returns a Tensor with the same shape and contents as input. Refer to Python API mindspore.ops.Identity for more details.
Public Functions
-
inline Identity()
Constructor.
-
inline void Init() const
Init. Refer to the parameters of Python API mindspore.ops.Identity for the inputs.
-
inline Identity()