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