code: def sequence_length(value=512):
      """Sequence length used when tokenizing.
  
      Args:
        value: an integer or dictionary
  
      Returns:
        a dictionary
      """
      if isinstance(value, int):
          return {"inputs": value, "targets": value}
      else:
          return value
  
file_path: text-to-text-transfer-transformer/t5/scripts/dump_task.py
imports: import importlib
  import re
  from absl import app
  from absl import flags
  import gin
  import seqio
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: sequence_length(value) and returns: dict, value