openvino.runtime.opset4.assign

openvino.runtime.opset4.assign(new_value: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], variable_id: str, name: Optional[str] = None) openvino._pyopenvino.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