openvino.runtime.opset4.read_value

openvino.runtime.opset4.read_value(init_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
  • init_value – Node producing a value to be returned instead of an unassigned variable.

  • variable_id – Id of a variable to be read.

  • name – Optional name for output node.

Returns

ReadValue node