code: def text_decode(seq, encoder):
      """Decodes a sequence using a tokenizer.
      This function is meant to be used in hparam files
  
      Arguments
      ---------
      seq: torch.Tensor
          token indexes
      encoder: sb.dataio.encoder.TextEncoder
          a text encoder instance
  
      Returns
      -------
      output_seq: list
          a list of lists of tokens
      """
      return encoder.decode_ndim(seq)
  
imports: from functools import reduce
  from speechbrain.wordemb.util import expand_to_chars
  import speechbrain
  import torch
  import re
label_desc: Use image node_id 15 for calling a global function with example usage: text_decode(seq, encoder) and returns: encoder