class_docstr: Test AssertShape layer.
class_docstr_tok: ["Test","AssertShape","layer","."]
code: def test_ellipsis_too_few_dims_fail(self):
      layer = tl.AssertShape("...abc,2")
      x = [np.ones((4, 5)), np.zeros((2))]
      with self.assertRaises(tl.LayerError):
          layer(x)
  
imports: from absl.testing import absltest
  import numpy
  import trax.layers
label_desc: Use image node_id 23 for calling the AssertShapeTest obj's underlying member method code with example usage: obj.test_ellipsis_too_few_dims_fail() without return types