class_docstr: Tests for deterministic cuDNN functionality.
code: def _random_data_op(self, shape):
      # np.random.random_sample can properly interpret either tf.TensorShape or
      # namedtuple as a list.
      return constant_op.constant(
          2 * np.random.random_sample(shape) - 1, dtype=dtypes.float32
      )
  
imports: import collections
  import numpy
  from tensorflow.python.eager import backprop
  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 nn_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the ConvolutionTest obj's underlying member method code with example usage: obj._random_data_op(shape) and returns: constant_op