class_docstr: Test the Polynomial kernel.
class_docstr_tok: ["Test","the","Polynomial","kernel","."]
code: def testNoneShapes(self):
      k = polynomial.Polynomial(
          bias_amplitude=np.reshape(np.arange(12.0), [2, 3, 2])
      )
      self.assertAllEqual([2, 3, 2], k.batch_shape)
  
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 7 for calling the PolynomialTest obj's underlying member method code with example usage: obj.testNoneShapes() without return types