GpuClass enum
GPU class buckets used by the heuristic.
Values
- none → const GpuClass
-
No GPU acceleration — CPU-only inference.
const GpuClass('none') - integrated → const GpuClass
-
Integrated GPU (mobile / iGPU).
const GpuClass('integrated') - discrete → const GpuClass
-
Dedicated discrete GPU (e.g. RTX-class).
const GpuClass('discrete') - appleSilicon → const GpuClass
-
Apple Silicon unified memory + Metal.
const GpuClass('apple-silicon')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wire → String
-
Wire-format string used over the Pigeon channel.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromWire(
String value) → GpuClass - Decode a wire-format string. Defaults to GpuClass.integrated for unknown values.