directionKnob property
final
Controls whether toggling from binary to one-hot or from one-hot to binary.
Implementation
final ChoiceConfigKnob<Type> directionKnob = ChoiceConfigKnob(
[BinaryToOneHot, OneHotToBinary],
value: OneHotToBinary,
choiceLabels: const {
BinaryToOneHot: 'BinaryToOneHot',
OneHotToBinary: 'OneHotToBinary',
},
);