|
ember.cpp 0.1.0
C++ inference engine for Llama-family and paperkiln models (CPU, CUDA, WebAssembly)
|
#include <algorithm>#include <cmath>

Go to the source code of this file.
Namespaces | |
| namespace | detail |
Macros | |
| #define | SAFE_MIN(a, b) detail::safe_min((a), (b)) |
| #define | SAFE_MAX(a, b) detail::safe_max((a), (b)) |
| #define | SAFE_SQRT(x) detail::safe_sqrt(x) |
Functions | |
| template<typename T > | |
| T | detail::safe_min (T a, T b) |
| template<typename T > | |
| T | detail::safe_max (T a, T b) |
| float | detail::safe_sqrt (float x) |
Definition at line 37 of file model_macros.h.
Definition at line 36 of file model_macros.h.
| #define SAFE_SQRT | ( | x | ) | detail::safe_sqrt(x) |
Definition at line 38 of file model_macros.h.