code: def test_op_params(self):
      a, b, c = 2, 3, -7
      x = tensor.matrix(dtype="float64")
      y1 = QuadraticOpFunc(a, b, c)(x)
      y2 = QuadraticCOpFunc(a, b, c)(x)
      f1 = theano.function([x], y1)
      f2 = theano.function([x], y2)
      shape = (100, 100)
      vx = (
          np.random.normal(size=shape[0] * shape[1])
          .astype("float64")
          .reshape(*shape)
      )
      vy1 = f1(vx)
      vy2 = f2(vx)
      ref = a * (vx**2) + b * vx + c
      utt.assert_allclose(vy1, vy2)
      utt.assert_allclose(ref, vy1)
  
imports: from __future__ import absolute_import, print_function, division
  import theano
  import numpy
  from unittest import TestCase
  from theano.gof import Op, COp, Apply
  from theano import Generic
  from theano.scalar import Scalar
  from theano.tensor import TensorType
  from theano.gof import ParamsType, Params, EnumList
  from theano import tensor
  from theano.tests import unittest_tools
label_desc: Use image node_id 5 for calling the TestParamsType obj's underlying member method code with example usage: obj.test_op_params() without return types