code: def test_2arg(self):
      x = dmatrix("x")
      x.tag.test_value = np.zeros((2, 2))
      y = dvector("y")
      y.tag.test_value = [0, 0, 0, 0]
  
      @as_op([dmatrix, dvector], dvector)
      def cumprod_plus(x, y):
          return np.cumprod(x) + y
  
      fn = function([x, y], cumprod_plus(x, y))
      r = fn([[1.5, 5], [2, 2]], [1, 100, 2, 200])
      r0 = np.array([2.5, 107.5, 17.0, 230.0])
  
      assert np.allclose(r, r0), (r, r0)
  
file_path: pytensor/tests/compile/test_ops.py
imports: import pickle
  import numpy
  from pytensor import function
  from pytensor.compile.ops import as_op
  from pytensor.tensor.type import dmatrix, dvector
  from tests import unittest_tools
label_desc: Use image node_id 2 for calling the TestOpDecorator obj's underlying member method code with example usage: obj.test_2arg() and returns: unknown