code: def test_addition_inputs_constraints(self):
      vocab_size = 5
      batch_size = 256
      seq_length = 64
      inputs = data.inputs.addition_inputs(
          vocab_size=vocab_size,
          batch_size=batch_size,
          train_length=seq_length,
          eval_min_length=seq_length,
          eval_max_length=seq_length,
          pad_to_multiple=seq_length,
          encdec=True,
      )
  
      # Check if max length is respected for train stream
      train_stream = inputs.train_stream(n_devices=1)
      for _ in range(10):
          x, y, weights = next(train_stream)
          self.assertEqual(x.shape[1], seq_length)
          self.assertEqual(y.shape[1], seq_length)
          self.assertEqual(weights.shape[1], seq_length)
  
      # Check if max length is respected for eval stream
      eval_stream = inputs.eval_stream(n_devices=1)
      for _ in range(10):
          x, y, weights = next(eval_stream)
          self.assertEqual(x.shape[1], seq_length)
          self.assertEqual(y.shape[1], seq_length)
          self.assertEqual(weights.shape[1], seq_length)
  
imports: import itertools
  import os
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from trax import data
label_desc: Use image node_id 33 for calling the InputsTest obj's underlying member method code with example usage: obj.test_addition_inputs_constraints() without return types