ScratchpadFixedPointAttentionConfigurator class
Configures attention with external typed scratchpad memory transactions.
- Inheritance
-
- Object
- Configurator
- FixedPointAttentionConfigurator
- ScratchpadFixedPointAttentionConfigurator
Constructors
Properties
- addressWidthKnob → PositiveIntConfigKnob
-
Key and value address width.
final
- automaticRetireKnob → ToggleConfigKnob
-
Whether results retire automatically on the next cycle.
finalinherited
-
boundaryKnob
→ ChoiceConfigKnob<
ConfiguratorBoundary> -
Scheduling boundary.
finalinherited
- category → ComponentCategory
-
The taxonomy category for this configurable component.
no setterinherited
- clearCountersKnob → ToggleConfigKnob
-
Whether to expose counter clearing.
finalinherited
- counterWidthKnob → PositiveIntConfigKnob
-
Statistics counter width.
finalinherited
- elementKnob → InferenceFixedPointFormatKnob
-
Selected query/key element format.
no setterinherited
- expKnob → InferenceFixedPointFormatKnob
-
Exponential scale format.
no setterinherited
- formatsKnob → AttentionNumericFormatsKnob
-
Named definitions shared by explicitly selected arithmetic roles.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- headDimensionKnob → PositiveIntConfigKnob
-
Query/key vector length.
finalinherited
-
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 setterinherited
- outputWidthKnob → PositiveIntConfigKnob
-
Result element width.
finalinherited
-
overflowKnob
→ ChoiceConfigKnob<
NumericOverflowMode> -
Fixed-point overflow policy.
finalinherited
- reciprocalKnob → InferenceFixedPointFormatKnob
-
Reciprocal scale format.
no setterinherited
- requestIdWidthKnob → PositiveIntConfigKnob
-
Request identifier width.
finalinherited
-
roundingKnob
→ ChoiceConfigKnob<
NumericRoundingMode> -
Fixed-point rounding policy.
finalinherited
- 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 setterinherited
- sequenceLengthKnob → PositiveIntConfigKnob
-
Number of stored KV positions.
finalinherited
- subcategory → String
-
The taxonomy subcategory for this configurable component.
no setterinherited
- valueDimensionKnob → PositiveIntConfigKnob
-
Value vector length.
finalinherited
- valueKnob → InferenceFixedPointFormatKnob
-
Value element format.
no setterinherited
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.
inherited
-
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.
inherited
-
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