![]() |
Edge AI Add-on API 2.2.0
|
Structure compiled into the command buffer then passed to some CPU op extension functions. More...
#include <nrf_axon_nn_op_extensions.h>
Data Fields | ||
| struct { | ||
| int8_t * input | ||
| int8_t * output | ||
| } | ptr_args | |
| struct { | ||
| union { | ||
| NRF_AXON_PLATFORM_BITWIDTH_UNSIGNED_TYPE spacer0 | ||
| uint32_t output_multiplier | ||
| } | ||
| union { | ||
| NRF_AXON_PLATFORM_BITWIDTH_UNSIGNED_TYPE spacer1 | ||
| struct { | ||
| uint16_t height | ||
| uint16_t width | ||
| } | ||
| } | ||
| union { | ||
| NRF_AXON_PLATFORM_BITWIDTH_UNSIGNED_TYPE spacer2 | ||
| struct { | ||
| uint16_t channel_cnt | ||
| uint8_t output_rounding | ||
| int8_t output_zeropoint | ||
| } | ||
| } | ||
| union { | ||
| NRF_AXON_PLATFORM_BITWIDTH_UNSIGNED_TYPE spacer3 | ||
| struct { | ||
| uint8_t output_bytewidth | ||
| bool quantization_enabled | ||
| bool input_is_packed | ||
| } | ||
| } | ||
| } | remaining_args | |
Structure compiled into the command buffer then passed to some CPU op extension functions.
Op Extension Base 1 profile arguments. The following conditions must be met for an op extension to use this structure to pass its parameters. (If the conditions aren't met, a new structure needs to be defined.)