knobs property
override
A mapping from configuration names to ConfigKnobs that can be used
to configure this component.
Implementation
@override
Map<String, ConfigKnob<dynamic>> get knobs => {
'Operation': operationKnob,
'Score Format': scoreKnob,
'Normalizer Format': normalizerKnob,
if (operationKnob.value != OnlineSoftmaxConfiguratorOperation.normalize)
'Exponential Format': expKnob,
if (operationKnob.value != OnlineSoftmaxConfiguratorOperation.merge &&
operationKnob.value !=
OnlineSoftmaxConfiguratorOperation.update) ...{
'Value Count': valueCountKnob,
'Value Format': valueKnob,
'Overflow': overflowKnob,
},
if (operationKnob.value ==
OnlineSoftmaxConfiguratorOperation.normalize) ...{
'Reciprocal Format': reciprocalKnob,
'Output Width': outputWidthKnob,
},
'Rounding': roundingKnob,
};