fromValue static method
Implementation
static ExecutionMode fromValue(int value) => switch (value) {
0 => ORT_SEQUENTIAL,
1 => ORT_PARALLEL,
_ => throw ArgumentError("Unknown value for ExecutionMode: $value"),
};
static ExecutionMode fromValue(int value) => switch (value) {
0 => ORT_SEQUENTIAL,
1 => ORT_PARALLEL,
_ => throw ArgumentError("Unknown value for ExecutionMode: $value"),
};