class_docstr: Test the Linear kernel.
class_docstr_tok: ["Test","the","Linear","kernel","."]
code: def testValuesAreCorrect(self):
      k = polynomial.Linear()
      x = np.random.uniform(-1, 1, size=[5, 3]).astype(np.float32)
      y = np.random.uniform(-1, 1, size=[4, 3]).astype(np.float32)
      self.assertAllClose(x.dot(y.T), self.evaluate(k.matrix(x, y)))
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
  from tensorflow_probability.python.math.psd_kernels import polynomial
label_desc: Use image node_id 2 for calling the LinearTest obj's underlying member method code with example usage: obj.testValuesAreCorrect() without return types