openvino.runtime.opset2.shape_of#

openvino.runtime.opset2.shape_of(data: Node | int | float | ndarray, 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.

Returns:

ShapeOf node