Class Parameter
- Defined in File anf.h 
Inheritance Relationships
Base Type
- public mindspore::api::AnfNode(Class AnfNode)
Class Documentation
- 
class Parameter : public mindspore::api::AnfNode
- Parameter represents the parameter inputs of a function. - Public Functions - 
bool has_default() const
- Check if there is a default parameter. - 返回
- True if this Parameter has a default parameter, otherwise false. 
 
 - 
void set_default_param(const ValuePtr ¶m)
- Set the default parameter. - 参数
- param – [in] The default parameter. 
 
 - 
ValuePtr default_param() const
- Get the default parameter. - 返回
- The default parameter. 
 
 
- 
bool has_default() const