openvino.runtime.opset4.assign#

openvino.runtime.opset4.assign(new_value: Node | int | float | ndarray, variable_id: str, name: str | None = None) Node#

Return a node which produces the Assign operation.

Parameters:
  • new_value – Node producing a value to be assigned to a variable.

  • variable_id – Id of a variable to be updated.

  • name – Optional name for output node.

Returns:

Assign node