Go to the source code of this file.
Typedefs | |
| typedef double(* | EvaluateStatic) (const float *, const float *, const float *, size_t, size_t, size_t, size_t, double) |
Functions | |
| static int | causal_depthwise_residual (const float *input, size_t input_elements, const float *weight, size_t weight_elements, float *history, size_t history_elements, float *output, size_t output_elements, size_t tokens, size_t channels, size_t taps, size_t history_rows, int ordered_fp32) |
| int | causal_dynamic_depthwise_residual_checked_f32 (const float *input, size_t input_elements, const float *weight, size_t weight_elements, const float *dynamic, size_t dynamic_elements, float *history, size_t history_elements, float *output, size_t output_elements, size_t tokens, size_t channels, size_t heads, size_t taps, size_t history_rows, size_t dynamic_width) |
| int | ck_causal_depthwise_residual_checked_f32 (const float *input, size_t input_elements, const float *weight, size_t weight_elements, float *history, size_t history_elements, float *output, size_t output_elements, size_t tokens, size_t channels, size_t taps, size_t history_rows) |
| int | ck_causal_depthwise_residual_checked_ordered_f32 (const float *input, size_t input_elements, const float *weight, size_t weight_elements, float *history, size_t history_elements, float *output, size_t output_elements, size_t tokens, size_t channels, size_t taps, size_t history_rows) |
| static double | evaluate (const float *input, const float *history, const float *weight, size_t token, size_t channel, size_t channels, size_t taps, double divisor) |
| static double | evaluate_dynamic (const float *input, const float *history, const float *weight, const float *dynamic, size_t token, size_t channel, size_t channels, size_t heads, size_t taps, double divisor) |
| static double | evaluate_fp32 (const float *input, const float *history, const float *weight, size_t token, size_t channel, size_t channels, size_t taps, double multiplier) |
| static void | store_history (float *history, const float *input, size_t tokens, size_t taps, size_t rows, size_t state) |
| typedef double(* EvaluateStatic) (const float *, const float *, const float *, size_t, size_t, size_t, size_t, double) |
Definition at line 42 of file causal_depthwise_residual_checked.c.
|
static |
Definition at line 56 of file causal_depthwise_residual_checked.c.
References ck_checked_finite(), ck_checked_overlap(), ck_checked_region(), ck_checked_span(), evaluate(), evaluate_fp32(), and store_history().
Referenced by ck_causal_depthwise_residual_checked_f32(), and ck_causal_depthwise_residual_checked_ordered_f32().
| int causal_dynamic_depthwise_residual_checked_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| const float * | weight, | ||
| size_t | weight_elements, | ||
| const float * | dynamic, | ||
| size_t | dynamic_elements, | ||
| float * | history, | ||
| size_t | history_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | tokens, | ||
| size_t | channels, | ||
| size_t | heads, | ||
| size_t | taps, | ||
| size_t | history_rows, | ||
| size_t | dynamic_width ) |
Definition at line 144 of file causal_depthwise_residual_checked.c.
References ck_checked_finite(), ck_checked_overlap(), ck_checked_region(), ck_checked_span(), evaluate_dynamic(), and store_history().
| int ck_causal_depthwise_residual_checked_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| const float * | weight, | ||
| size_t | weight_elements, | ||
| float * | history, | ||
| size_t | history_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | tokens, | ||
| size_t | channels, | ||
| size_t | taps, | ||
| size_t | history_rows ) |
Definition at line 96 of file causal_depthwise_residual_checked.c.
References causal_depthwise_residual().
| int ck_causal_depthwise_residual_checked_ordered_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| const float * | weight, | ||
| size_t | weight_elements, | ||
| float * | history, | ||
| size_t | history_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | tokens, | ||
| size_t | channels, | ||
| size_t | taps, | ||
| size_t | history_rows ) |
Definition at line 106 of file causal_depthwise_residual_checked.c.
References causal_depthwise_residual().
|
static |
Definition at line 7 of file causal_depthwise_residual_checked.c.
References product(), and token.
Referenced by causal_depthwise_residual().
|
static |
Definition at line 117 of file causal_depthwise_residual_checked.c.
References product(), and token.
Referenced by causal_dynamic_depthwise_residual_checked_f32().
|
static |
Definition at line 25 of file causal_depthwise_residual_checked.c.
References product(), and token.
Referenced by causal_depthwise_residual().
|
static |
Definition at line 45 of file causal_depthwise_residual_checked.c.
Referenced by causal_depthwise_residual(), and causal_dynamic_depthwise_residual_checked_f32().