docstr: Helper function to test objax.random.uniform.
docstr_tok: ["Helper","function","to","test","objax.random.uniform","."]
code: def helper_test_uniform(self, shape):
      """Helper function to test objax.random.uniform."""
      value = objax.random.uniform(shape)
      self.assertEqual(value.shape, shape)
      self.assertTrue(np.all(value >= 0.0))
      self.assertTrue(np.all(value < 1.0))
  
file_path: objax/tests/testrandom.py
imports: import unittest
  import numpy
  import scipy.stats
  import objax
label_desc: Use image node_id 7 for calling the TestRandom obj's underlying member method code with example usage: obj.helper_test_uniform(shape) without return types