ngraph.read_value

ngraph.read_value(init_value: Union[_pyngraph.Node, int, float, numpy.ndarray], variable_id: str, name: Optional[str] = None) _pyngraph.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