Public Member Functions | Protected Attributes
ngraph::VariableExtension Class Referenceabstract
Inheritance diagram for ngraph::VariableExtension:
Inheritance graph
[legend]

Public Member Functions

virtual std::shared_ptr< ngraph::Variableget_variable () const
 Returns variable connected to this node.
 
virtual void set_variable (const std::shared_ptr< ngraph::Variable > &variable)
 Sets a new variable to be connected to this node. More...
 
virtual void set_variable_id (const std::string &variable_id)
 Sets the identifier to a variable. More...
 
virtual std::string get_variable_id () const =0
 Returns the identifier of corresponding variable.
 

Protected Attributes

std::shared_ptr< ngraph::Variablem_variable
 

Member Function Documentation

◆ set_variable()

virtual void ngraph::VariableExtension::set_variable ( const std::shared_ptr< ngraph::Variable > &  variable)
inlinevirtual

Sets a new variable to be connected to this node.

Parameters
variableNew variable to be connected to this node.

◆ set_variable_id()

virtual void ngraph::VariableExtension::set_variable_id ( const std::string &  variable_id)
inlinevirtual

Sets the identifier to a variable.

Parameters
variable_idNew identifier of the variable.

The documentation for this class was generated from the following file: