code: def test_polynomial__sanity(
      batch: Tuple[int, ...],
      degree: int,
      input_dim: int,
      output_dim: int,
  ) -> None:
      p = Polynomial(degree, input_dim, output_dim)
      X = np.ones(batch + (input_dim,))
      Y = p(X)
      assert (batch) + (output_dim,) == Y.shape
      assert_allclose(1.0, Y)
  
imports: from typing import Any, Sequence, Tuple, Type
  import numpy
  import pytest
  import tensorflow_probability
  from check_shapes import check_shapes
  from numpy.testing import assert_allclose
  import gpflow
  from gpflow.base import AnyNDArray, TensorType
  from gpflow.config import default_int
  from gpflow.functions import Additive, Constant, Linear, MeanFunction, Polynomial, Product, SwitchedMeanFunction, Zero
  from gpflow.inducing_variables import InducingPoints
label_desc: Use image node_id 7 for calling a global function with example usage: test_polynomial__sanity(batch, degree, input_dim, output_dim) without return types