BackendDecisionHeadInfo class

A decision head loaded by a backend.

Constructors

BackendDecisionHeadInfo({required int handle, required int hiddenSize, required int clsToken, required int sepToken, required int maskToken, required String maskText, required String configJson, required String deviceName})
Creates a head description.
const

Properties

clsToken → int
Token that starts every sequence.
final
configJson → String
The head's configuration as JSON text (Laya rl_agent_config.json).
final
deviceName → String
Name of the device the head runs on.
final
handle → int
Handle of the head, valid with the API that returned it.
final
hashCode → int
The hash code for this object.
no setterinherited
hiddenSize → int
Hidden size shared by the encoder and the head.
final
maskText → String
Text of maskToken.
final
maskToken → int
Token placed before each option.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sepToken → int
Token that separates sequence parts.
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