# heliaCORE.Internal.arm_nn_activation_flt

## ARM_NN_TANH_F32_XMAX

`macro` · `c`

```c
#define ARM_NN_TANH_F32_XMAX (6.0f)
```

Source: `Include/Internal/arm_nn_activation_flt.h:48`

## ARM_NN_TANH_F32_LUT_SEGMENTS

`macro` · `c`

```c
#define ARM_NN_TANH_F32_LUT_SEGMENTS (384)
```

Source: `Include/Internal/arm_nn_activation_flt.h:49`

## ARM_NN_TANH_F32_LUT_MAX_IDX

`macro` · `c`

```c
#define ARM_NN_TANH_F32_LUT_MAX_IDX (ARM_NN_TANH_F32_LUT_SEGMENTS - 1)
```

Source: `Include/Internal/arm_nn_activation_flt.h:50`

## arm_nn_hardswish_scalar_f32

`function` · `c`

```c
static float32_t arm_nn_hardswish_scalar_f32(float32_t x)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float32_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:52`

## arm_nn_tanh_scalar_ref_f32

`function` · `c`

```c
static float32_t arm_nn_tanh_scalar_ref_f32(float32_t x)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float32_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:92`

## arm_nn_sigmoid_scalar_f32

`function` · `c`

```c
static float32_t arm_nn_sigmoid_scalar_f32(float32_t x)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float32_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:177`

## arm_nn_propagate_nan_f32

`function` · `c`

```c
static float32_t arm_nn_propagate_nan_f32(float32_t x, float32_t y)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float32_t |  |  |
| y | float32_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:202`

## arm_nn_apply_activation_type_f32

`function` · `c`

```c
static float32_t arm_nn_apply_activation_type_f32(float32_t x, arm_nn_activation_type_flt type, float32_t act_param)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float32_t |  |  |
| type | arm_nn_activation_type_flt |  |  |
| act_param | float32_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:216`

## arm_nn_clamp_scalar_f32

`function` · `c`

```c
static float32_t arm_nn_clamp_scalar_f32(float32_t x, float32_t min_v, float32_t max_v)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float32_t |  |  |
| min_v | float32_t |  |  |
| max_v | float32_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:248`

## arm_nn_vector_clamp_f32

`function` · `c`

```c
static void arm_nn_vector_clamp_f32(
    float32_t *data,
    int32_t block_size,
    float32_t activation_min,
    float32_t activation_max
)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| data | float32_t * |  |  |
| block_size | int32_t |  |  |
| activation_min | float32_t |  |  |
| activation_max | float32_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:365`

## arm_nn_clamp_scalar_f16

`function` · `c`

```c
static float16_t arm_nn_clamp_scalar_f16(float16_t x, float16_t min_v, float16_t max_v)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float16_t |  |  |
| min_v | float16_t |  |  |
| max_v | float16_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:389`

## arm_nn_hardswish_scalar_f16

`function` · `c`

```c
static float16_t arm_nn_hardswish_scalar_f16(float16_t x)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float16_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:400`

## arm_nn_tanh_scalar_ref_f16

`function` · `c`

```c
static float16_t arm_nn_tanh_scalar_ref_f16(float16_t x)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float16_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:418`

## arm_nn_sigmoid_scalar_f16

`function` · `c`

```c
static float16_t arm_nn_sigmoid_scalar_f16(float16_t x)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float16_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:460`

## arm_nn_apply_activation_type_f16

`function` · `c`

```c
static float16_t arm_nn_apply_activation_type_f16(float16_t x, arm_nn_activation_type_flt type, float16_t act_param)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| x | float16_t |  |  |
| type | arm_nn_activation_type_flt |  |  |
| act_param | float16_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:472`

## arm_nn_vector_clamp_f16

`function` · `c`

```c
static void arm_nn_vector_clamp_f16(
    float16_t *data,
    int32_t block_size,
    float16_t activation_min,
    float16_t activation_max
)
```

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| data | float16_t * |  |  |
| block_size | int32_t |  |  |
| activation_min | float16_t |  |  |
| activation_max | float16_t |  |  |

Source: `Include/Internal/arm_nn_activation_flt.h:577`
