code: def handle(self,
                 t_input: inference.TranslatorInput,
                 t_output: inference.TranslatorOutput,
                 t_walltime: float = 0.):
          
          print_attention_text(t_output.attention_matrix,
                               t_input.tokens,
                               t_output.tokens,
                               self.threshold)
docs: :param t_input: Translator input.
          :param t_output: Translator output.
          :param t_walltime: Total wall-clock time for translation.