ShapeOf

Versioned name: ShapeOf-1

Category: Shape manipulation

Short description: ShapeOf produces 1D tensor with the input tensor shape.

Attributes: has no attributes.

Inputs:

Outputs:

Example

<layer ... type="ShapeOf">
<input>
<port id="0">
<dim>2</dim>
<dim>3</dim>
<dim>224</dim>
<dim>224</dim>
</port>
</input>
<output>
<port id="1">
<dim>4</dim>
</port>
</output>
</layer>