BackendDecision class abstract
Optional backend capability for encoder-plus-head decision models.
Constructors
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
modelHandlecan 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
headPathfor the modelmodelHandle. -
decisionRun(
int headHandle, List< BackendDecisionSequence> sequences) → Future<List< BackendDecisionOutput> > -
Runs
sequencesthrough 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