|
ONE - On-device Neural Engine
|
Functions | |
| TensorShape | compute_transposeconv_upsampled_shape (const ITensorInfo &input, const ITensorInfo &weights, const PadStrideInfo &info, std::pair< unsigned int, unsigned int > &out_dims, unsigned int invalid_right, unsigned int invalid_bottom, unsigned int &pad_left, unsigned int &pad_right, unsigned int &pad_top, unsigned int &pad_bottom) |
| TensorShape | compute_transposeconv_output_shape (const std::pair< unsigned int, unsigned int > &out_dims, const ITensorInfo &input, const ITensorInfo &weights) |
| TensorShape | compute_depth_to_space_shape_ex (const ITensorInfo *input, int block) |
| TensorShape | compute_space_to_depth_shape_ex (const ITensorInfo *input, int32_t block_shape) |
| TensorShape | compute_gather_shape_ex (const TensorShape &input_shape, const TensorShape &indices_shape, uint32_t actual_axis) |
| TensorShape | compute_onehot_shape_ex (const TensorShape &indices_shape, uint32_t depth, uint32_t actual_axis) |
|
inline |
Calculate the depth to space output shape of a tensor
| [in] | input | Input tensor info |
| [in] | block | Block shape value |
Definition at line 155 of file ShapeCalculatorEx.h.
References output_shape.
|
inline |
Calculate the gather output shape of a tensor
| [in] | input_shape | Input tensor shape |
| [in] | indices_shape | Indices tensor shape |
| [in] | actual_axis | The axis to be gathered |
Definition at line 205 of file ShapeCalculatorEx.h.
References output_shape.
|
inline |
Calculate the gather output shape of a tensor
| [in] | input_shape | Input tensor shape |
| [in] | indices_shape | Indices tensor shape |
| [in] | actual_axis | The axis to be gathered |
Definition at line 249 of file ShapeCalculatorEx.h.
References output_shape.
|
inline |
Calculate the space to batch output shape of a tensor
| [in] | input | Input tensor info |
| [in] | block_shape | Block shape value |
Definition at line 180 of file ShapeCalculatorEx.h.
References output_shape.
|
inline |
Calculate the output shape of the transpose convolution layer
| [in] | out_dims | Output x and y shape dimensions |
| [in] | input | Input tensor info |
| [in] | weights | Weights tensor shape |
Definition at line 127 of file ShapeCalculatorEx.h.
Referenced by arm_compute::CLDirectTransposeConvLayer::configure(), and arm_compute::CLDirectTransposeConvLayer::validate().
|
inline |
Calculate the upsampled output shape used for transpose convolution
| [in] | input | Input tensor info |
| [in] | weights | Weights tensor shape |
| [in] | info | Padding and stride info |
| [in] | out_dims | Output shape dimensions |
| [in] | invalid_right | The number of zeros added to right edge of the output. |
| [in] | invalid_bottom | The number of zeros added to bottom edge of the output. |
| [out] | pad_left | Padding on left |
| [out] | pad_right | Padding on right |
| [out] | pad_top | Padding on top |
| [out] | pad_bottom | Padding on bottom |
Definition at line 74 of file ShapeCalculatorEx.h.
References info.
Referenced by arm_compute::CLDirectTransposeConvLayer::configure(), and arm_compute::CLDirectTransposeConvLayer::validate().