OnlineSoftmaxConfigurator class
Configures scalar and weighted online softmax state operations.
- Inheritance
-
- Object
- Configurator
- OnlineSoftmaxConfigurator
Constructors
Properties
- category → ComponentCategory
-
The taxonomy category for this configurable component.
no setteroverride
- expKnob → InferenceFixedPointFormatKnob
-
Exponential scale format.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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.
final
-
operationKnob
→ ChoiceConfigKnob<
OnlineSoftmaxConfiguratorOperation> -
State operation.
final
- outputWidthKnob → PositiveIntConfigKnob
-
Normalized output width.
final
-
overflowKnob
→ ChoiceConfigKnob<
NumericOverflowMode> -
Overflow policy for weighted arithmetic.
final
- reciprocalKnob → InferenceFixedPointFormatKnob
-
Reciprocal scale format.
final
-
roundingKnob
→ ChoiceConfigKnob<
NumericRoundingMode> -
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.
final
- subcategory → String
-
The taxonomy subcategory for this configurable component.
no setteroverride
- valueCountKnob → PositiveIntConfigKnob
-
Number of weighted values.
final
- valueKnob → InferenceFixedPointFormatKnob
-
Weighted value format.
final
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
-
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