code: def gen_rnd(self, shape, low=-1.0, high=1.0):
      return (
          np.random.uniform(low, high, np.prod(shape))
          .reshape(shape)
          .astype(np.float32)
      )
  
file_path: analytics-zoo/pyzoo/test/zoo/pipeline/utils/test_utils_onnx.py
imports: from __future__ import print_function
  import numpy
  import onnx
  import torch
  from zoo.pipeline.api.onnx.onnx_loader import OnnxLoader
  from .test_utils import ZooTestCase
  from bigdl.util.common import to_list
label_desc: Use image node_id 5 for calling the OnnxTestCase obj's underlying member method code with example usage: obj.gen_rnd(shape, low, high) and returns: np