openvino.runtime.opset7.shape_of

openvino.runtime.opset7.shape_of(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], output_type: str = 'i64', name: Optional[str] = None) openvino._pyopenvino.Node

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

Parameters
  • data – The tensor containing the input data.

  • output_type – Output element type.

Returns

ShapeOf node