Team Ai
Datasetpublic

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.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
contrast.ts24 linesDownload Raw Back to methods
1 2/* IMPORT */3 4import _ from '~/utils';5import luminance from '~/methods/luminance';6 7/* MAIN */8 9const contrast = ( color1: string, color2: string ): number => {10 11  const luminance1 = luminance ( color1 );12  const luminance2 = luminance ( color2 );13  const max = Math.max ( luminance1, luminance2 );14  const min = Math.min ( luminance1, luminance2 );15  const ratio = ( max + Number.EPSILON ) / ( min + Number.EPSILON );16 17  return _.lang.round ( _.lang.clamp ( ratio, 1, 10 ) );18 19};20 21/* EXPORT */22 23export default contrast;24 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai