fromValue static method
Implementation
static ggml_numa_strategy fromValue(int value) => switch (value) {
0 => GGML_NUMA_STRATEGY_DISABLED,
1 => GGML_NUMA_STRATEGY_DISTRIBUTE,
2 => GGML_NUMA_STRATEGY_ISOLATE,
3 => GGML_NUMA_STRATEGY_NUMACTL,
4 => GGML_NUMA_STRATEGY_MIRROR,
5 => GGML_NUMA_STRATEGY_COUNT,
_ =>
throw ArgumentError("Unknown value for ggml_numa_strategy: $value"),
};