class_docstr: Tests for helper functions.
class_docstr_tok: ["Tests","for","helper","functions","."]
code: def testInputArray(self):
      num_dims = 3
      truth = ["{:03b}".format(i) for i in range(2**num_dims)]
      output_array = _input_array(num_dims).reshape([-1])
      self.assertAllEqualUnicode(truth, output_array)
  
imports: import itertools
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the ReduceJoinTestHelperTest obj's underlying member method code with example usage: obj.testInputArray() without return types