code: def test_type_check(self):
      inputs = [["Y", "q", "c"], ["Y", "6", "6"], ["p", "G", "a"]]
      segment_ids = np.array([1, 0, 1], dtype=np.int32)
      num_segments = np.array(2, dtype=np.int32)
      separator = ":"
      output_array = [["Y", "6", "6"], ["Y:p", "q:G", "c:a"]]
  
      res = self.evaluate(
          string_ops.unsorted_segment_join(
              inputs=inputs,
              segment_ids=segment_ids,
              num_segments=num_segments,
              separator=separator,
          )
      )
      self.assertAllEqual(res.shape, np.array(output_array).shape)
      self.assertAllEqualUnicode(res, output_array)
  
      segment_ids = np.array([1, 0, 1], dtype=np.int64)
      num_segments = np.array(2, dtype=np.int64)
      res = self.evaluate(
          string_ops.unsorted_segment_join(
              inputs=inputs,
              segment_ids=segment_ids,
              num_segments=num_segments,
              separator=separator,
          )
      )
      self.assertAllEqual(res.shape, np.array(output_array).shape)
      self.assertAllEqualUnicode(res, output_array)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the UnsortedSegmentJoinOpTest obj's underlying member method code with example usage: obj.test_type_check() without return types