code: def numpy_random_array(shapes):
      size = 1
      for dimsize in shapes:
          size *= dimsize
      return (
          np.random.normal(size=size)
          .astype(theano.config.floatX)
          .reshape(shapes)
      )
  
imports: from __future__ import print_function, absolute_import, division
  from unittest import TestCase
  import numpy
  import theano
  import theano.tensor
  from theano.tests import unittest_tools
  from theano.tests.unittest_tools import SkipTest
  from .config import mode_with_gpu, mode_without_gpu
  from .test_basic_ops import rand_gpuarray
  from ..None import GpuArrayType
  from ..reduction import GpuMaxAndArgmax
  from ..dnn import GpuDnnReduction
  import math
label_desc: Use image node_id 1 for calling a global function with example usage: numpy_random_array(shapes) and returns: np