code: def test_perform(self):
      x = theano.tensor.matrix()
      y = theano.tensor.matrix()
      f = theano.function([x, y], self.op_class()(x, y))
      x_val = np.random.rand(5, 4)
      y_val = np.random.rand(5, 4)
      out = f(x_val, y_val)
      assert np.allclose([x_val + y_val, x_val - y_val], out)
  
imports: from __future__ import absolute_import, print_function, division
  import unittest
  import theano
  import numpy
  from theano.gof import Op, Apply
  from theano import tensor, function, printing
  from theano.tests import unittest_tools
  import theano
  import numpy
  from theano.compile.ops import as_op
label_desc: Use image node_id 2 for calling the TestSumDiffOp obj's underlying member method code with example usage: obj.test_perform() without return types