Class ov::frontend::Variable#

class Variable : public ov::op::util::FrameworkNode#

Variable is a special node used in a conversion step It can have several values (or states) during the conversion. Variable value at some time step is represented with a graph.

Subclassed by ov::frontend::HashTable

Public Functions

inline virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.

inline bool is_initialized() const#

Checks if variable is initialized with some value.

inline virtual ov::Output<ov::Node> get_value()#

Returns a value at the current step of conversion.

inline uint64_t get_init_counter() const#

Returns a counter value (a number of values that have assigned to this variable)