Class ov::op::v6::Assign#

class Assign : public ov::op::util::AssignBase#

Assign operation sets an input value to the variable with variable_id

Public Functions

Assign(const Output<Node> &new_value, const std::shared_ptr<util::Variable> &variable)#

Constructs an Assign operation.

Parameters:
  • new_valueNode that produces the input tensor.

  • variable – Class for storing and synchronizing element types, shapes and identifiers between pairs of Assign/ReadValue nodes.

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 virtual std::string get_variable_id() const override#

Returns the identifier of corresponding variable.

virtual bool has_evaluate() const override#

Allows to get information about availability of evaluate method for the current operation.