Class Value

Inheritance Relationships

Base Type

Derived Types

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.