Class Value
Defined in File value.h
Inheritance Relationships
Base Type
public mindspore::api::Base
(Class Base)
Derived Types
public mindspore::api::FuncGraph
(Class FuncGraph)public mindspore::api::Primitive
(Class Primitive)public mindspore::api::Scalar
(Class Scalar)public mindspore::api::StringImm
(Class StringImm)public mindspore::api::Tensor
(Class Tensor)public mindspore::api::Type
(Class Type)public mindspore::api::ValueSequence
(Class ValueSequence)
Class Documentation
-
class Value : public mindspore::api::Base
Value represents a value in expression.
Subclassed by mindspore::api::FuncGraph, mindspore::api::Primitive, mindspore::api::Scalar, mindspore::api::StringImm, mindspore::api::Tensor, mindspore::api::Type, mindspore::api::ValueSequence
Public Functions
-
TypePtr type() const
Get the type of this Value.
- Returns
The type.
-
AbstractBasePtr ToAbstract() const
Get the abstract of this Value.
- Returns
Abstract of this Value.
-
TypePtr type() const