#include "checked_float_buffer.h"Go to the source code of this file.
Functions | |
| int | scaled_head_l2_clip_checked_f32 (const float *input, size_t input_elements, const float *gamma, size_t gamma_elements, float *output, size_t output_elements, size_t channels, size_t rows, size_t heads, size_t dim, float cap, float epsilon) |
| int | sigmoid_gate_rows_checked_f32 (const float *input, size_t input_elements, const float *gate, size_t gate_elements, float *output, size_t output_elements, size_t elements) |
| int scaled_head_l2_clip_checked_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| const float * | gamma, | ||
| size_t | gamma_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | channels, | ||
| size_t | rows, | ||
| size_t | heads, | ||
| size_t | dim, | ||
| float | cap, | ||
| float | epsilon ) |
Definition at line 3 of file attention_rows_checked.c.
References ck_checked_finite(), ck_checked_overlap(), ck_checked_region(), ck_checked_span(), and start.
| int sigmoid_gate_rows_checked_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| const float * | gate, | ||
| size_t | gate_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | elements ) |
Definition at line 44 of file attention_rows_checked.c.
References ck_checked_finite(), ck_checked_overlap(), and ck_checked_region().