fromValue static method
Implementation
static ggml_op_pool fromValue(int value) => switch (value) {
0 => GGML_OP_POOL_MAX,
1 => GGML_OP_POOL_AVG,
2 => GGML_OP_POOL_COUNT,
_ => throw ArgumentError("Unknown value for ggml_op_pool: $value"),
};