Spaces:
Sleeping
Sleeping
Download fuel_learning_table.h from sok99/bigcode-starcoder2-15b: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/spaces/sok99/bigcode-starcoder2-15b/resolve/refs%2Fpr%2F1/fuel_learning_table.h
- Command line
-
hf download hf://spaces/sok99/bigcode-starcoder2-15b@refs/pr/1/fuel_learning_table.h
-
curl -L -o fuel_learning_table.h https://huggingface.co/spaces/sok99/bigcode-starcoder2-15b/resolve/refs%2Fpr%2F1/fuel_learning_table.h
362 Bytes
| class FuelLearningTable { | |
| private: | |
| float corrections[16][16]; | |
| uint32_t cellHits[16][16]; | |
| public: | |
| FuelLearningTable(); | |
| void reset(); | |
| bool save(); | |
| bool load(); | |
| float getCorrection(float load, float rpm); | |
| void update(float load, float rpm, float correction); | |
| float getProgress() const; | |
| }; | |