code: def test_pack_dataset_no_eos(self, use_custom_ops):
      x = [
          {"inputs": [7, 8, 5], "targets": [3, 9]},
          {"inputs": [8, 4, 9, 3], "targets": [4]},
      ]
      ds = create_default_dataset(x)
      packed_ds = dataset.pack_dataset(
          ds,
          length={"inputs": 8, "targets": 5},
          use_custom_ops=use_custom_ops,
      )
  
      # Packing still works without the eos.
      expected = [
          {
              "inputs": [7, 8, 5, 8, 4, 9, 3, 0],
              "inputs_segmentation": [1, 1, 1, 2, 2, 2, 2, 0],
              "inputs_position": [0, 1, 2, 0, 1, 2, 3, 0],
              "targets": [3, 9, 4, 0, 0],
              "targets_position": [0, 1, 0, 0, 0],
              "targets_segmentation": [1, 1, 2, 0, 0],
          }
      ]
      self.assert_dataset(
          packed_ds, expected, {"inputs": tf.int32, "targets": tf.int32}
      )
  
file_path: mesh/mesh_tensorflow/transformer/dataset_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from mesh_tensorflow.transformer import dataset
  import numpy
  import tensorflow.compat.v1
  import tensorflow_datasets
label_desc: Use image node_id 3 for calling the DatasetTest obj's underlying member method code with example usage: obj.test_pack_dataset_no_eos(use_custom_ops) without return types