BackendDecision class abstract

Optional backend capability for encoder-plus-head decision models.

Constructors

BackendDecision()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

decisionCapabilities(int modelHandle) → Future<BackendDecisionCapabilities>
Reports whether the model modelHandle can run decision heads.
decisionHeadFree(int headHandle) → Future<void>
Frees the head headHandle; unknown handles are ignored.
decisionHeadLoad(int modelHandle, String headPath, {String? configPath}) → Future<BackendDecisionHeadInfo>
Loads the head at headPath for the model modelHandle.
decisionRun(int headHandle, List<BackendDecisionSequence> sequences) → Future<List<BackendDecisionOutput>>
Runs sequences through the encoder and head, in order.
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