ModelFormat enum
Model formats supported
- Inheritance
- Available extensions
Values
- onnx → const ModelFormat
-
const ModelFormat('onnx') - ort → const ModelFormat
-
const ModelFormat('ort') - gguf → const ModelFormat
-
const ModelFormat('gguf') - bin → const ModelFormat
-
const ModelFormat('bin') - unknown → const ModelFormat
-
const ModelFormat('unknown')
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 - rawValue → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toC(
) → int -
Available on ModelFormat, provided by the ModelFormatCppBridge extension
Convert to C++ model format type -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromRawValue(
String value) → ModelFormat
Constants
-
values
→ const List<
ModelFormat> - A constant List of the values in this enum, in order of their declaration.