openvino.runtime.opset7.shape_of#

openvino.runtime.opset7.shape_of(data: Node | int | float | ndarray, output_type: str = 'i64', name: str | None = None) 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