Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1'use strict';2 3var clamp = require('./clamp');4 5var ToNumber = require('./ToNumber');6var floor = require('./floor');7 8var $isNaN = require('math-intrinsics/isNaN');9 10// https://262.ecma-international.org/15.0/#sec-touint8clamp11 12module.exports = function ToUint8Clamp(argument) {13 var number = ToNumber(argument); // step 114 15 if ($isNaN(number)) { return 0; } // step 216 17 var clamped = clamp(number, 0, 255); // step 418 19 var f = floor(clamped); // step 520 21 if (clamped < (f + 0.5)) { return f; } // step 622 23 if (clamped > (f + 0.5)) { return f + 1; } // step 724 25 return f % 2 === 0 ? f : f + 1; // step 826};27 