class_docstr: Test cases for segment reduction ops.
code: def testUnsortedSegmentSum1DIndices3DData(self):
      for dtype in self.numeric_types:
          data = np.array(
              [
                  [[0, 1, 2], [10, 11, 12]],
                  [[100, 101, 102], [110, 111, 112]],
                  [[200, 201, 202], [210, 211, 212]],
                  [[300, 301, 302], [310, 311, 312]],
              ],
              dtype=dtype,
          )
          indices = np.array([3, 0, 2, 5], dtype=np.int32)
          num_segments = 6
          y = self._unsortedSegmentSum(data, indices, num_segments)
          self.assertAllClose(
              np.array(
                  [
                      [[100, 101, 102.0], [110, 111, 112]],
                      [[0, 0, 0], [0, 0, 0]],
                      [[200, 201, 202], [210, 211, 212]],
                      [[0, 1, 2.0], [10, 11, 12]],
                      [[0, 0, 0], [0, 0, 0]],
                      [[300, 301, 302], [310, 311, 312]],
                  ],
                  dtype=dtype,
              ),
              y,
          )
  
imports: import functools
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.client import device_lib
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 27 for calling the SegmentReductionOpsTest obj's underlying member method code with example usage: obj.testUnsortedSegmentSum1DIndices3DData() without return types