code: def test_rop_override(self, cls_ofg):
      x, y = T.vectors("xy")
  
      def ro(inps, epts):
          x, y = inps
          u, v = epts
          return [u * y * 2.0 + x * v * 1.5]
  
      u, v = T.vectors("uv")
      op_mul_rop = cls_ofg([x, y, u, v], ro([x, y], [u, v]))
      op_mul = cls_ofg([x, y], [x * y], rop_overrides=ro)
      op_mul2 = cls_ofg([x, y], [x * y], rop_overrides=op_mul_rop)
  
      # single override case
      xx, yy = T.vector("xx"), T.vector("yy")
      du, dv = T.vector("du"), T.vector("dv")
      for op in [op_mul, op_mul2]:
          zz = op_mul(xx, yy)
          dw = T.Rop(zz, [xx, yy], [du, dv])
          fn = function([xx, yy, du, dv], dw)
          vals = np.random.rand(4, 32).astype(config.floatX)
          dwval = fn(*vals)
          assert np.allclose(
              dwval, vals[0] * vals[3] * 1.5 + vals[1] * vals[2] * 2.0
          )
  
imports: from __future__ import absolute_import, print_function, division
  from functools import partial
  import numpy
  import theano
  from theano import config, shared
  from theano.gradient import DisconnectedType
  from theano.gof.null_type import NullType
  from theano.compile import function
  from theano import tensor
  from theano.tensor.shared_randomstreams import RandomStreams
  from theano.compile.builders import OpFromGraph
  from theano.tests import unittest_tools
label_desc: Use image node_id 10 for calling the T_OpFromGraph obj's underlying member method code with example usage: obj.test_rop_override(cls_ofg) and returns: list