code: def mrg_random_make_inplace(node):
      op = node.op
      if isinstance(op, mrg_uniform_base) and not op.inplace:
          # op might be gpu version
          new_op = op.__class__(op.output_type, inplace=True)
          return new_op.make_node(*node.inputs).outputs
      return False
  
imports: from __future__ import absolute_import, print_function, division
  import warnings
  import numpy
  from six import integer_types, string_types
  from six.moves import xrange
  import theano
  from theano import Op, Apply, shared, config, Variable
  from theano import gradient, function
  from theano.gradient import undefined_grad
  from theano import tensor
  from theano.tensor import TensorType, as_tensor_variable, get_vector_length, cast, opt, scal
  from theano.compile import optdb
  from theano.gof import local_optimizer, ParamsType
  from theano.scalar import bool, int32
  from .None import multinomial
label_desc: Use image node_id 8 for calling a global function with example usage: mrg_random_make_inplace(node) and returns: False, new_op