openvino.runtime.opset10.read_value#

openvino.runtime.opset10.read_value(init_value: Node | int | float | ndarray, variable_id: str, variable_type: type | dtype | Type | str | None = None, variable_shape: List[int] | None = None, name: str | None = None) Node#
openvino.runtime.opset10.read_value(variable_id: str, variable_type: type | dtype | Type | str | None = None, variable_shape: List[int] | None = None, name: str | None = None) 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.

  • variable_type – Optional type to be set into Variable.

  • variable_shape – Optional shape to be set into Variable.

  • name – Optional name for output node.

Returns:

ReadValue node