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/* IMPORT */2import _ from '../utils/index.js';3import luminance from './luminance.js';4/* MAIN */5const contrast = (color1, color2) => {6 const luminance1 = luminance(color1);7 const luminance2 = luminance(color2);8 const max = Math.max(luminance1, luminance2);9 const min = Math.min(luminance1, luminance2);10 const ratio = (max + Number.EPSILON) / (min + Number.EPSILON);11 return _.lang.round(_.lang.clamp(ratio, 1, 10));12};13/* EXPORT */14export default contrast;15 