FixedPointAttentionConfigurator class

Configures bounded attention and its optional protocol attachment.

Inheritance
Implementers

Constructors

FixedPointAttentionConfigurator()

Properties

automaticRetireKnob → ToggleConfigKnob
Whether results retire automatically on the next cycle.
final
boundaryKnob → ChoiceConfigKnob<ConfiguratorBoundary>
Scheduling boundary.
final
category → ComponentCategory
The taxonomy category for this configurable component.
no setteroverride
clearCountersKnob → ToggleConfigKnob
Whether to expose counter clearing.
final
counterWidthKnob → PositiveIntConfigKnob
Statistics counter width.
final
elementKnob → InferenceFixedPointFormatKnob
Selected query/key element format.
no setter
expKnob → InferenceFixedPointFormatKnob
Exponential scale format.
no setter
formatsKnob → AttentionNumericFormatsKnob
Named definitions shared by explicitly selected arithmetic roles.
final
hashCode → int
The hash code for this object.
no setterinherited
headDimensionKnob → PositiveIntConfigKnob
Query/key vector length.
final
knobs → Map<String, ConfigKnob>
A mapping from configuration names to ConfigKnobs that can be used to configure this component.
no setteroverride
name → String
The name of this Configurator.
no setteroverride
normalizerKnob → InferenceFixedPointFormatKnob
Normalization sum format.
no setter
outputWidthKnob → PositiveIntConfigKnob
Result element width.
final
overflowKnob → ChoiceConfigKnob<NumericOverflowMode>
Fixed-point overflow policy.
final
reciprocalKnob → InferenceFixedPointFormatKnob
Reciprocal scale format.
no setter
requestIdWidthKnob → PositiveIntConfigKnob
Request identifier width.
final
roundingKnob → ChoiceConfigKnob<NumericRoundingMode>
Fixed-point rounding policy.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sanitaryName → String
A version of the name which has been sanitized to meet SystemVerilog variable naming requirements.
no setterinherited
scoreKnob → InferenceFixedPointFormatKnob
Score format.
no setter
sequenceLengthKnob → PositiveIntConfigKnob
Number of stored KV positions.
final
subcategory → String
The taxonomy subcategory for this configurable component.
no setteroverride
valueDimensionKnob → PositiveIntConfigKnob
Value vector length.
final
valueKnob → InferenceFixedPointFormatKnob
Value element format.
no setter

Methods

createModule() → Module
Creates a Module instance as configured.
override
generateSV() → Future<String>
Generates SystemVerilog for the module as configured.
inherited
loadJson(String json) → void
Loads the configuration from a serialized JSON representation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resultSchema() → FixedPointAttentionResult
Creates the shared result schema for bounded and row attention.
toJson({bool pretty = false}) → String
Serializes the configuration information into a JSON structure.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited