Class Ones
Defined in File ones.h
Inheritance Relationships
Base Type
public mindspore::ops::PrimitiveC
(Class PrimitiveC)
Class Documentation
-
class Ones : public mindspore::ops::PrimitiveC
Creates a tensor filled with value ones. Refer to Python API mindspore.ops.Ones for more details.
Public Functions
-
inline Ones()
Constructor.
-
~Ones() = default
Destructor.
-
inline void Init()
Init. Refer to the parameters of Python API mindspore.ops.Ones for the inputs.
-
inline Ones()