Skip to content
heliaCORE
API reference
HELIA HUB

Select/Where Functions:

Machine-readable model

  • arm_select_v2_f32functionCopy selected FP32 storage bits, preserving signed zero, subnormals and NaN payloads.
function

Copy selected FP32 storage bits, preserving signed zero, subnormals and NaN payloads.

Include/arm_nnfunctions_flt.h:120

arm_cmsis_nn_status arm_select_v2_f32(
const bool *condition,
const float32_t *x,
const float32_t *y,
const cmsis_nn_select_v2_params *params,
float32_t *output
)

Copy selected FP32 storage bits, preserving signed zero, subnormals and NaN payloads.

Parameters of arm_select_v2_f32
NameTypeDirectionDescription
conditionconst bool *inBoolean mask.
xconst float32_t *inPayload selected when the mask is true.
yconst float32_t *inPayload selected when the mask is false.
paramsconst cmsis_nn_select_v2_params *inRank 1..8, positive output extents and nonnegative element strides. Zero strides broadcast.
outputfloat32_t *outContiguous result disjoint from the condition, payloads, params, shape and stride arrays.
Returns of arm_select_v2_f32
Description
ARM_CMSIS_NN_SUCCESS or ARM_CMSIS_NN_ARG_ERROR.