code: def _testRandomVec(self, fn=array_ops.where):
      x = np.random.rand(1000000) > 0.5
      truth = np.vstack([np.where(x)[0].astype(np.int64)]).T
      self._testWhere(x, truth, None, fn)
  
imports: import itertools
  import sys
  import numpy
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.platform import benchmark
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the WhereOpTest obj's underlying member method code with example usage: obj._testRandomVec(fn) without return types