code: def random_make_inplace(node):
      op = node.op
      if isinstance(op, RandomFunction) and not op.inplace:
          # Read op_fn from op.state, not from op.fn, since op.fn
          # may not be picklable.
          op_fn, op_outtype, op_inplace, op_ndim_added = op._props()
          new_op = RandomFunction(
              op_fn, op_outtype, inplace=True, ndim_added=op_ndim_added
          )
          return new_op.make_node(*node.inputs).outputs
      return False
  
imports: from __future__ import absolute_import, print_function, division
  import sys
  from copy import copy
  import numpy
  from six import string_types
  from six.moves import reduce, xrange
  import theano
  from theano import tensor
  from theano.tensor import opt
  from theano import gof
  from theano.compile import optdb
label_desc: Use image node_id 15 for calling a global function with example usage: random_make_inplace(node) and returns: False, new_op