Go to the source code of this file.
Functions | |
| int | audio_lstm_bidirectional_scan_f32 (const float *input, size_t input_elements, const float *weight_ih, size_t weight_ih_elements, const float *weight_hh, size_t weight_hh_elements, const float *bias_ih, size_t bias_ih_elements, const float *bias_hh, size_t bias_hh_elements, float *output, size_t output_elements, float *hidden_state, size_t hidden_state_elements, float *cell_state, size_t cell_state_elements, float *gates_scratch, size_t gates_scratch_bytes, int tokens, int input_size, int hidden_size, size_t input_stride, size_t output_stride) |
| 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) |
| int audio_lstm_bidirectional_scan_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| const float * | weight_ih, | ||
| size_t | weight_ih_elements, | ||
| const float * | weight_hh, | ||
| size_t | weight_hh_elements, | ||
| const float * | bias_ih, | ||
| size_t | bias_ih_elements, | ||
| const float * | bias_hh, | ||
| size_t | bias_hh_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| float * | hidden_state, | ||
| size_t | hidden_state_elements, | ||
| float * | cell_state, | ||
| size_t | cell_state_elements, | ||
| float * | gates_scratch, | ||
| size_t | gates_scratch_bytes, | ||
| int | tokens, | ||
| int | input_size, | ||
| int | hidden_size, | ||
| size_t | input_stride, | ||
| size_t | output_stride | ||
| ) |
Definition at line 31 of file audio_lstm_scan.c.
References audio_lstm_step_f32(), checked_product(), and checked_span().
|
static |
Definition at line 10 of file audio_lstm_scan.c.
Referenced by audio_lstm_bidirectional_scan_f32(), and checked_span().
|
static |
Definition at line 19 of file audio_lstm_scan.c.
References checked_product().
Referenced by audio_lstm_bidirectional_scan_f32().