Class Value
Defined in File anf.h
Inheritance Relationships
Base Type
public mindspore::Base
(Class Base)
Derived Types
public mindspore::AnyValue
(Class AnyValue)public mindspore::KeywordArg
(Class KeywordArg)public mindspore::Monad
(Class Monad)public mindspore::Named
(Class Named)public mindspore::Scalar
(Class Scalar)public mindspore::StringImm
(Class StringImm)public mindspore::ValueDictionary
(Class ValueDictionary)public mindspore::ValueSequence
(Class ValueSequence)public mindspore::ValueSlice
(Class ValueSlice)public mindspore::tensor::MetaSparseTensor
(Class MetaSparseTensor)public mindspore::tensor::MetaTensor
(Class MetaTensor)
Class Documentation
-
class Value : public mindspore::Base
Subclassed by mindspore::AnyValue, mindspore::KeywordArg, mindspore::Monad, mindspore::Named, mindspore::Scalar, mindspore::StringImm, mindspore::ValueDictionary, mindspore::ValueSequence, mindspore::ValueSlice, mindspore::tensor::MetaSparseTensor, mindspore::tensor::MetaTensor
Public Functions
-
Value() = default
Default constructor.
-
inline explicit Value(const TypePtr t)
Constructor of Value.
- Parameters
t – [in] The type of this Value.
-
inline Value(const Value &other)
Constructor of Value.
- Parameters
other – [in] Another Value.
-
~Value() override = default
Destructor.
- inline MS_DECLARE_PARENT (Value, Base) TypePtr type() const
Get the type of this Value.
- Returns
The type.
-
inline virtual abstract::AbstractBasePtr ToAbstract()
Get the abstract value of Value.
- Returns
Abstract value of Value.
-
Value() = default