def topDownCompute(self, encoded):
encoderResult = self.encoder.topDownCompute(encoded)[<NUM_LIT:0>]<EOL>value = encoderResult.value<EOL>categoryIndex = int(round(value))<EOL>category = self.indexToCategory[categoryIndex]<EOL>return EncoderResult(value=category, scalar=categoryIndex,<EOL>encoding=encoderResult.encoding)<EOL>
See the function description in base.py