Projection¶
Projection(
name: str,
input_shape: tuple,
output_shape: tuple,
axis: tuple,
order: tuple,
compression_type: str,
)
Projects an input array into a different dimensionality by reducing or expanding axes, then reordering axes.
Slots¶
| Slot | Description |
|---|---|
| Inputs | in0 array with input_shape |
| Outputs | out0 array with output_shape |
Import¶
Notes¶
compression_typesupportsSum,Average,Maximum, andMinimum.- In a contraction,
axisselects the input axes to reduce. - In an expansion,
axisselects the positions where new axes are inserted beforeorderis applied. - For simple reductions, prefer
CompressAxes.