code: def handle(self,
                 t_input: inference.TranslatorInput,
                 t_output: inference.TranslatorOutput,
                 t_walltime: float = 0.):
          
          self.stream.write("input=%s\toutput=%s\tinput_tokens=%d\toutput_tokens=%d\ttranslation_time=%0.4f\n" %
                            (" ".join(t_input.tokens),
                             t_output.translation,
                             len(t_input.tokens),
                             len(t_output.tokens),
                             t_walltime))
          self.stream.flush()
docs: :param t_input: Translator input.
          :param t_output: Translator output.
          :param t_walltime: Total walltime for translation.