ngraph.assign

ngraph.assign(new_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
  • 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