Go to the source code of this file.
Functions | |
| int | audio_adaptive_layer_norm_f32 (const float *input, size_t input_elements, const float *style, size_t style_elements, const float *projection_weight, size_t projection_weight_elements, const float *projection_bias, size_t projection_bias_elements, float *output, size_t output_elements, float *projection_scratch, size_t projection_scratch_bytes, int tokens, int channels, int style_dim, size_t input_stride, size_t output_stride, float epsilon) |
| static int | checked_float_extent (size_t elements) |
| static int | checked_product (size_t left, size_t right, size_t *result) |
| static int | checked_span (size_t rows, size_t stride, size_t width, size_t *result) |
| static int | row_stats (const float *row, size_t channels, float epsilon, double *mean, double *inverse_std) |
| int audio_adaptive_layer_norm_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| const float * | style, | ||
| size_t | style_elements, | ||
| const float * | projection_weight, | ||
| size_t | projection_weight_elements, | ||
| const float * | projection_bias, | ||
| size_t | projection_bias_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| float * | projection_scratch, | ||
| size_t | projection_scratch_bytes, | ||
| int | tokens, | ||
| int | channels, | ||
| int | style_dim, | ||
| size_t | input_stride, | ||
| size_t | output_stride, | ||
| float | epsilon | ||
| ) |
Definition at line 57 of file audio_adaptive_layer_norm.c.
References checked_float_extent(), checked_product(), checked_span(), row_stats(), and style.
|
static |
Definition at line 35 of file audio_adaptive_layer_norm.c.
Referenced by audio_adaptive_layer_norm_f32().
|
static |
Definition at line 18 of file audio_adaptive_layer_norm.c.
Referenced by audio_adaptive_layer_norm_f32(), and checked_span().
|
static |
Definition at line 25 of file audio_adaptive_layer_norm.c.
References checked_product().
Referenced by audio_adaptive_layer_norm_f32().
|
static |
Definition at line 40 of file audio_adaptive_layer_norm.c.
Referenced by audio_adaptive_layer_norm_f32().