Fix xla Shape vs shape tuple confusion and verify indexing test passes.
Fix xla Shape vs shape tuple confusion and verify indexing test passes.

tensorflow/probability,tensorflow/probability,google/jax,google/jax,google/jax,google/jax