code: def test_invalid_inputs():
      with pytest.raises(
          ValueError, match="must be a tuple or list of size 2"
      ):
          x0 = np.random.random((12, 5))
          x = np.random.random((12, 5))
          x1 = np.random.random((12, 5))
          layer = PolynomialCrossing(projection_dim=6)
          layer([x0, x, x1])
  
file_path: addons/tensorflow_addons/layers/tests/polynomial_test.py
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.layers.polynomial import PolynomialCrossing
label_desc: Use image node_id 4 for calling a global function with example usage: test_invalid_inputs() without return types