The concatenation functions are used to concatenate the tensor along the specified axis.
More...
|
| void | tpt_concatenation_s8_w (int8_t *aOut_tensor, const int8_t *aIn_tensor, const uint16_t tensor_x, const uint16_t tensor_y, const uint16_t tensor_z, const uint16_t tensor_w, const uint32_t offset_w) |
| | This function concatenates the signed 8-bit integer input tensor along the w-axis with the output tensor.
|
| void | tpt_concatenation_s8_x (int8_t *aOut_tensor, const int8_t *aIn_tensor, const uint16_t tensor_x, const uint16_t tensor_y, const uint16_t tensor_z, const uint16_t tensor_w, const uint16_t out_tensor_x, const uint32_t offset_x) |
| | This function concatenates the signed 8-bit integer input tensor along the x-axis with the output tensor.
|
| void | tpt_concatenation_s8_y (int8_t *aOut_tensor, const int8_t *aIn_tensor, const uint16_t tensor_x, const uint16_t tensor_y, const uint16_t tensor_z, const uint16_t tensor_w, const uint16_t out_tensor_y, const uint32_t offset_y) |
| | This function concatenates the signed 8-bit integer input tensor along the y-axis with the output tensor.
|
| void | tpt_concatenation_s8_z (int8_t *aOut_tensor, const int8_t *aIn_tensor, const uint16_t tensor_x, const uint16_t tensor_y, const uint16_t tensor_z, const uint16_t tensor_w, const uint16_t out_tensor_z, const uint32_t offset_z) |
| | This function concatenates the signed 8-bit integer input tensor along the z-axis with the output tensor.
|
| static void | tpt_copy_q7 (q7_t *__restrict aOutData, const q7_t *__restrict aInData, uint32_t aCount) |
The concatenation functions are used to concatenate the tensor along the specified axis.
◆ tpt_concatenation_s8_w()
| void tpt_concatenation_s8_w |
( |
int8_t * | aOut_tensor, |
|
|
const int8_t * | aIn_tensor, |
|
|
const uint16_t | tensor_x, |
|
|
const uint16_t | tensor_y, |
|
|
const uint16_t | tensor_z, |
|
|
const uint16_t | tensor_w, |
|
|
const uint32_t | offset_w ) |
This function concatenates the signed 8-bit integer input tensor along the w-axis with the output tensor.
- Parameters
-
| [out] | aOut_tensor | pointer to output tensor |
| [in] | aIn_tensor | pointer to input tensor |
| [in] | tensor_x | x dimension of the input tensor |
| [in] | tensor_y | y dimension of the input tensor |
| [in] | tensor_z | z dimension of the input tensor |
| [in] | tensor_w | w dimension of the input tensor |
| [in] | offset_w | offset value to be added to the w-axis of the output tensor before the concatenation |
- Returns
- None
- Note
- The x, y and z dimension of the output tensor will be the same as those of the input tensor.
- The data layout of input and output tensors is assumed to be wzyx.
◆ tpt_concatenation_s8_x()
| void tpt_concatenation_s8_x |
( |
int8_t * | aOut_tensor, |
|
|
const int8_t * | aIn_tensor, |
|
|
const uint16_t | tensor_x, |
|
|
const uint16_t | tensor_y, |
|
|
const uint16_t | tensor_z, |
|
|
const uint16_t | tensor_w, |
|
|
const uint16_t | out_tensor_x, |
|
|
const uint32_t | offset_x ) |
This function concatenates the signed 8-bit integer input tensor along the x-axis with the output tensor.
- Parameters
-
| [out] | aOut_tensor | pointer to output tensor |
| [in] | aIn_tensor | pointer to input tensor |
| [in] | tensor_x | x dimension of the input tensor |
| [in] | tensor_y | y dimension of the input tensor |
| [in] | tensor_z | z dimension of the input tensor |
| [in] | tensor_w | w dimension of the input tensor |
| [out] | out_tensor_x | x dimension of the output tensor |
| [in] | offset_x | offset value to be added to the x-axis of the output tensor before the concatenation |
- Returns
- none
- Note
- The y, z and w dimensions of the output tensor will be the same as those of the input tensor.
- The data layout of input and output tensors is assumed to be wzyx.
◆ tpt_concatenation_s8_y()
| void tpt_concatenation_s8_y |
( |
int8_t * | aOut_tensor, |
|
|
const int8_t * | aIn_tensor, |
|
|
const uint16_t | tensor_x, |
|
|
const uint16_t | tensor_y, |
|
|
const uint16_t | tensor_z, |
|
|
const uint16_t | tensor_w, |
|
|
const uint16_t | out_tensor_y, |
|
|
const uint32_t | offset_y ) |
This function concatenates the signed 8-bit integer input tensor along the y-axis with the output tensor.
- Parameters
-
| [out] | aOut_tensor | pointer to output tensor |
| [in] | aIn_tensor | pointer to input tensor |
| [in] | tensor_x | x dimension of the input tensor |
| [in] | tensor_y | y dimension of the input tensor |
| [in] | tensor_z | z dimension of the input tensor |
| [in] | tensor_w | w dimension of the input tensor |
| [out] | out_tensor_y | x dimension of the output tensor |
| [in] | offset_y | offset value to be added to the y-axis of the output tensor before the concatenation |
- Returns
- none
- Note
- The x, z and w dimensions of the output tensor will be the same as those of the input tensor.
- The data layout of input and output tensors is assumed to be wzyx.
◆ tpt_concatenation_s8_z()
| void tpt_concatenation_s8_z |
( |
int8_t * | aOut_tensor, |
|
|
const int8_t * | aIn_tensor, |
|
|
const uint16_t | tensor_x, |
|
|
const uint16_t | tensor_y, |
|
|
const uint16_t | tensor_z, |
|
|
const uint16_t | tensor_w, |
|
|
const uint16_t | out_tensor_z, |
|
|
const uint32_t | offset_z ) |
This function concatenates the signed 8-bit integer input tensor along the z-axis with the output tensor.
- Parameters
-
| [out] | aOut_tensor | pointer to output tensor |
| [in] | aIn_tensor | pointer to input tensor |
| [in] | tensor_x | x dimension of the input tensor |
| [in] | tensor_y | y dimension of the input tensor |
| [in] | tensor_z | z dimension of the input tensor |
| [in] | tensor_w | w dimension of the input tensor |
| [out] | out_tensor_z | z dimension of the output tensor |
| [in] | offset_z | offset value to be added to the z-axis of the output tensor before the concatenation |
- Returns
- none
- Note
- The x, y and w dimensions of the output tensor will be the same as those of the input tensor.
- The data layout of input and output tensors is assumed to be wzyx.
◆ tpt_copy_q7()
| void tpt_copy_q7 |
( |
q7_t *__restrict | aOutData, |
|
|
const q7_t *__restrict | aInData, |
|
|
uint32_t | aCount ) |
|
inlinestatic |
s8 version of concatenation along the W axis Refer to header file for details.