Download include/ling3/layer0.h from Sariel00/Ling-3.0-tiny-RKNN: direct link, hf CLI and curl.
- Browser
- Download file 668 Bytes
-
https://huggingface.co/Sariel00/Ling-3.0-tiny-RKNN/resolve/main/include/ling3/layer0.h
- Command line
-
hf download hf://Sariel00/Ling-3.0-tiny-RKNN/include/ling3/layer0.h
-
curl -L -o layer0.h https://huggingface.co/Sariel00/Ling-3.0-tiny-RKNN/resolve/main/include/ling3/layer0.h
668 Bytes
| namespace ling3 { | |
| struct Layer0Timings { | |
| double attention_ms = 0.0; | |
| double dense_ffn_ms = 0.0; | |
| double total_ms = 0.0; | |
| }; | |
| class Layer0 { | |
| public: | |
| explicit Layer0(const ModelPackage & package); | |
| ~Layer0(); | |
| Layer0(const Layer0 &) = delete; | |
| Layer0 & operator=(const Layer0 &) = delete; | |
| void Reset(); | |
| Layer0Timings DecodeToken(std::uint32_t token, std::span<float> output); | |
| private: | |
| struct Impl; | |
| std::unique_ptr<Impl> impl_; | |
| }; | |
| } // namespace ling3 | |