code: def test_bad_inputs(self):
      matmat = jnp.vectorize(jnp.dot, signature="(n,m),(m,k)->(n,k)")
      with self.assertRaisesRegex(
          TypeError, "wrong number of positional arguments"
      ):
          matmat(jnp.zeros((3, 2)))
      with self.assertRaisesRegex(
          ValueError,
          r"input with shape \(2,\) does not have enough dimensions",
      ):
          matmat(jnp.zeros((2,)), jnp.zeros((2, 2)))
      with self.assertRaisesRegex(
          ValueError, r"inconsistent size for core dimension 'm'"
      ):
          matmat(jnp.zeros((2, 3)), jnp.zeros((4, 5)))
  
imports: from functools import partial
  from absl.testing import absltest
  import numpy
  import jax
  from jax import numpy
  from jax._src import test_util
  from jax import config
label_desc: Use image node_id 12 for calling the VectorizeTest obj's underlying member method code with example usage: obj.test_bad_inputs() without return types