Go to the source code of this file.
Functions | |
| int | ck_layernorm_rows_step_bf16_checked (const uint16_t *input, const uint16_t *gamma, const uint16_t *beta, uint16_t *output, uint16_t *stage, size_t rows, size_t channels, size_t elements, float epsilon) |
| int | ck_spatial_im2rows_bf16_checked (const uint16_t *input, uint16_t *rows, size_t input_elements, size_t row_elements, size_t height, size_t width, size_t channels, size_t kernel, size_t stride, size_t pad) |
| static int | overlap (const uint16_t *a, size_t na, const uint16_t *b, size_t nb) |
| static float | round_bf16 (float v) |
| static int | valid (const uint16_t *p, size_t elements) |
| int ck_layernorm_rows_step_bf16_checked | ( | const uint16_t * | input, |
| const uint16_t * | gamma, | ||
| const uint16_t * | beta, | ||
| uint16_t * | output, | ||
| uint16_t * | stage, | ||
| size_t | rows, | ||
| size_t | channels, | ||
| size_t | elements, | ||
| float | epsilon ) |
Definition at line 54 of file spatial_neck_bf16_checked.c.
References bf16_to_float(), centered(), float_to_bf16(), overlap(), round_bf16(), and valid().
| int ck_spatial_im2rows_bf16_checked | ( | const uint16_t * | input, |
| uint16_t * | rows, | ||
| size_t | input_elements, | ||
| size_t | row_elements, | ||
| size_t | height, | ||
| size_t | width, | ||
| size_t | channels, | ||
| size_t | kernel, | ||
| size_t | stride, | ||
| size_t | pad ) |
Definition at line 18 of file spatial_neck_bf16_checked.c.
|
static |
Definition at line 12 of file spatial_neck_bf16_checked.c.
Referenced by ck_layernorm_rows_step_bf16_checked(), and ck_spatial_im2rows_bf16_checked().
|
static |
Definition at line 49 of file spatial_neck_bf16_checked.c.
References bf16_to_float(), and float_to_bf16().
Referenced by ck_layernorm_rows_step_bf16_checked().
|
static |
Definition at line 6 of file spatial_neck_bf16_checked.c.
Referenced by ck_layernorm_rows_step_bf16_checked(), and ck_spatial_im2rows_bf16_checked().