Class AbstractScript

Inheritance Relationships

Base Type

Class Documentation

class AbstractScript : public mindspore::abstract::AbstractBase

Class AbstractScript describes the script node’s type, shape and value.

Public Functions

inline AbstractScript()

Constructor of AbstractScript.

inline AbstractScript(const ValuePtr &value, const TypePtr &type)

Constructor of AbstractScript.

Parameters
  • value[in] The real value of an anf node.

  • type[in] The type of an anf node.

inline explicit AbstractScript(const ValuePtr &value)

Constructor of AbstractScript.

Parameters

value[in] The real value to be set.

~AbstractScript() override = default

Destructor of AbstractScript.