def test_UnsortedSegmentSum(self): t = tf.unsorted_segment_sum(self.random(4, 2, 3), np.array([0, 2, 2, 1]), 3) self.check(t)