ngraph.opset2.shape_of

ngraph.opset2.shape_of(data: Union[_pyngraph.Node, int, float, numpy.ndarray], name: Optional[str] = None) _pyngraph.Node

Return a node which produces a tensor containing the shape of its input data.

Parameters

data – The tensor containing the input data.

Returns

ShapeOf node