code: def arithmetic_sequence(input_seq, limit=10):
      # Increment the last symbol. Wrap to [0, 10).
      return (input_seq[-1] + 1) % limit
  
file_path: trax/trax/layers/test_utils_test.py
imports: import functools
  from absl.testing import absltest
  import numpy
  from trax.layers import test_utils
  from trax.supervised import decoding
label_desc: Use image node_id 1 for calling a global function with example usage: arithmetic_sequence(input_seq, limit) and returns: unknown