fromValue static method
Implementation
static ggml_scale_flag fromValue(int value) => switch (value) {
256 => GGML_SCALE_FLAG_ALIGN_CORNERS,
_ => throw ArgumentError('Unknown value for ggml_scale_flag: $value'),
};
static ggml_scale_flag fromValue(int value) => switch (value) {
256 => GGML_SCALE_FLAG_ALIGN_CORNERS,
_ => throw ArgumentError('Unknown value for ggml_scale_flag: $value'),
};