ngraph.eye¶
- ngraph.eye(num_rows: Union[_pyngraph.Node, int, float, numpy.ndarray], num_columns: Union[_pyngraph.Node, int, float, numpy.ndarray], diagonal_index: Union[_pyngraph.Node, int, float, numpy.ndarray], output_type: str, batch_shape: Optional[Union[_pyngraph.Node, int, float, numpy.ndarray]] = None, name: Optional[str] = None) _pyngraph.Node ¶
Return a node which performs eye operation.
- Parameters
num_rows – The node providing row number tensor.
num_columns – The node providing column number tensor.
diagonal_index – The node providing the index of the diagonal to be populated.
output_type – Specifies the output tensor type, supports any numeric types.
batch_shape – The node providing the leading batch dimensions of output shape. Optionally.
name – The optional new name for output node.
- Returns
New node performing deformable convolution operation.