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