Download include/ling3/cpu_kernels.h from Sariel00/Ling-3.0-tiny-RKNN: direct link, hf CLI and curl.
- Browser
- Download file 597 Bytes
-
https://huggingface.co/Sariel00/Ling-3.0-tiny-RKNN/resolve/main/include/ling3/cpu_kernels.h
- Command line
-
hf download hf://Sariel00/Ling-3.0-tiny-RKNN/include/ling3/cpu_kernels.h
-
curl -L -o cpu_kernels.h https://huggingface.co/Sariel00/Ling-3.0-tiny-RKNN/resolve/main/include/ling3/cpu_kernels.h
597 Bytes
| namespace ling3 { | |
| float BFloat16ToFloat(std::uint16_t value) noexcept; | |
| std::uint16_t FloatToBFloat16(float value) noexcept; | |
| void RmsNorm(const float * input, const float * weight, float * output, std::size_t count, float epsilon) noexcept; | |
| void SiluMultiply(const float * gate, const float * up, float * output, std::size_t count) noexcept; | |
| void Silu(const float * input, float * output, std::size_t count) noexcept; | |
| void WeightedAccumulate(const float * input, float weight, float * output, std::size_t count) noexcept; | |
| } // namespace ling3 | |