TrocrBackendOptions class

Runtime options accepted by the candle-trocr backend.

Constructors

TrocrBackendOptions({CandleTrocrVariant? variant, CandleDevicePreference? device, String? cacheDir, String? hfRevision})
const

Properties

cacheDir → String?
Optional Hugging Face cache root.
final
device → CandleDevicePreference?
Optional per-call device override.
final
hashCode → int
The hash code for this object.
no setteroverride
hfRevision → String?
Optional immutable Hugging Face model revision.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
variant → CandleTrocrVariant?
Optional model variant; the backend constructor's variant is used when absent.
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.
override