Class ov::op::util::VariableExtension

class VariableExtension

Subclassed by ov::op::util::AssignBase, ov::op::util::ReadValueBase

Public Functions

inline virtual std::shared_ptr<Variable> get_variable() const

Returns variable connected to this node.

inline virtual void set_variable(const std::shared_ptr<Variable> &variable)

Sets a new variable to be connected to this node.

Parameters

variable – New variable to be connected to this node.

inline virtual void set_variable_id(const std::string &variable_id)

Sets the identifier to a variable.

Parameters

variable_id – New identifier of the variable.

virtual std::string get_variable_id() const = 0

Returns the identifier of corresponding variable.