code: def test_validate_input_types_gpuarray_backend():
      with change_flags(compute_test_value="raise"):
          rstate = np.zeros((7, 6), dtype="int32")
          rstate = gpuarray_shared_constructor(rstate)
          rng_mrg.mrg_uniform.new(
              rstate, ndim=None, dtype="float32", size=(3,)
          )
  
file_path: Theano/theano/gpuarray/tests/test_rng_mrg.py
imports: from __future__ import absolute_import, print_function, division
  import functools
  import numpy
  import theano
  from theano import change_flags, tensor
  from theano.sandbox import rng_mrg
  from theano.sandbox.rng_mrg import MRG_RandomStreams
  from theano.sandbox.tests.test_rng_mrg import java_samples, rng_mrg_overflow
  from theano.sandbox.tests.test_rng_mrg import test_f16_nonzero
  from theano.tests import unittest_tools
  from .config import mode_with_gpu
  from ..type import gpuarray_shared_constructor
  from ..rng_mrg import GPUA_mrg_uniform
label_desc: Use image node_id 5 for calling a global function with example usage: test_validate_input_types_gpuarray_backend() without return types