#include <stddef.h>Go to the source code of this file.
Functions | |
| int | gelu_rows_tanh_checked_f32 (const float *input, size_t input_elements, size_t input_stride, float *output, size_t output_elements, size_t output_stride, float *scratch, size_t scratch_elements, size_t rows, size_t channels) |
| int | layernorm_rows_checked_f32 (const float *input, size_t input_elements, size_t input_stride, const float *gamma, size_t gamma_elements, const float *beta, size_t beta_elements, float *output, size_t output_elements, size_t output_stride, float *scratch, size_t scratch_elements, size_t rows, size_t channels, float epsilon) |
| int | layernorm_rows_checked_workspace (size_t rows, size_t channels, size_t *elements) |
| int gelu_rows_tanh_checked_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| size_t | input_stride, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | output_stride, | ||
| float * | scratch, | ||
| size_t | scratch_elements, | ||
| size_t | rows, | ||
| size_t | channels | ||
| ) |
Definition at line 5 of file gelu_rows_tanh_checked.c.
References ck_checked_finite(), ck_checked_overlap(), ck_checked_region(), ck_checked_span(), and gelu_exact_inplace().
| int layernorm_rows_checked_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| size_t | input_stride, | ||
| const float * | gamma, | ||
| size_t | gamma_elements, | ||
| const float * | beta, | ||
| size_t | beta_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | output_stride, | ||
| float * | scratch, | ||
| size_t | scratch_elements, | ||
| size_t | rows, | ||
| size_t | channels, | ||
| float | epsilon | ||
| ) |
Definition at line 16 of file layernorm_rows_checked.c.
References ck_checked_finite(), ck_checked_overlap(), ck_checked_region(), ck_checked_span(), layernorm_naive_serial_matched_precision(), and layernorm_rows_checked_workspace().
| int layernorm_rows_checked_workspace | ( | size_t | rows, |
| size_t | channels, | ||
| size_t * | elements | ||
| ) |
Definition at line 7 of file layernorm_rows_checked.c.
Referenced by layernorm_rows_checked_f32().