Fix ONNX mnist example (#2374)
Fix ONNX mnist example (#2374)

* Fix ONNX mnist example

* use np to compute the shape; rename jax.numpy as jnp
tensorflow/probability,tensorflow/probability,google/jax,google/jax,google/jax,google/jax