fromValue static method
Implementation
static ggml_status fromValue(int value) => switch (value) {
-2 => GGML_STATUS_ALLOC_FAILED,
-1 => GGML_STATUS_FAILED,
0 => GGML_STATUS_SUCCESS,
1 => GGML_STATUS_ABORTED,
_ => throw ArgumentError("Unknown value for ggml_status: $value"),
};