class_docstr: Encodes/decodes between strings and integer representations.
class_docstr_tok: ["Encodes\/decodes","between","strings","and","integer","representations","."]
docstr: Returns the max length of an input sequence.
docstr_tok: ["Returns","the","max","length","of","an","input","sequence","."]
code: def max_input_len(self) -> int:
      """Returns the max length of an input sequence."""
      # The input has the form "digit1+digit2<eos>", so the max input length is
      # the length of two digits plus two tokens for "+" and the EOS token.
      return self._max_len_query_digit * 2 + 2
  
imports: import random
  from typing import Any, Dict, Generator, Optional, Tuple
  import jax.numpy
  import numpy
label_desc: Use image node_id 5 for calling the CharacterTable obj's underlying member method code with example usage: obj.max_input_len() and returns: unknown