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 2/* IMPORT */3 4import _ from '~/utils';5import Color from '~/color';6import adjust from '~/methods/adjust';7import type {CHANNELS, Channels} from '~/types';8 9/* MAIN */10 11const scale = ( color: string | Channels, channels: Partial<CHANNELS> ): string => {12 13 const ch = Color.parse ( color );14 const adjustments: Partial<CHANNELS> = {};15 const delta = ( amount: number, weight: number, max: number ) => weight > 0 ? ( max - amount ) * weight / 100 : amount * weight / 100;16 17 for ( const c in channels ) {18 19 adjustments[c] = delta ( ch[c], channels[c], _.channel.max[c] );20 21 }22 23 return adjust ( color, adjustments );24 25};26 27/* EXPORT */28 29export default scale;30 