Class Base
- Defined in File base.h 
Inheritance Relationships
Derived Types
- public mindspore::api::AbstractBase(Class AbstractBase)
- public mindspore::api::AnfNode(Class AnfNode)
- public mindspore::api::Shape(Class Shape)
- public mindspore::api::Value(Class Value)
Class Documentation
- 
class Base
- Base is the base class of many api classes, which provides basic interfaces. - Subclassed by mindspore::api::AbstractBase, mindspore::api::AnfNode, mindspore::api::Shape, mindspore::api::Value - Public Functions - Create an instance from the given implementation object. - 参数
- impl – [in] The shared_ptr to the implementation object. 
 
 - 
inline const std::shared_ptr<mindspore::Base> &impl() const
- Get the shared_ptr to the underly implementation object. - 返回
- The shared_ptr to the underly implementation object. 
 
 - 
std::string ToString() const
- Get the string representation of this object. - 返回
- The string representation. 
 
 - Public Static Functions - 
static uint32_t ClassId()
- Get the id of this class. - 返回
- The id of this class.