Repr the op_sharding for printing.

PiperOrigin-RevId: 464304033
This commit is contained in:
Yash Katariya 2022-07-30 15:24:33 -07:00 committed by jax authors
parent 11b206a18a
commit 5112006903

View File

@ -313,7 +313,7 @@ class OpShardingSharding(XLACompatibleSharding):
return self._hash
def __repr__(self):
return self._op_sharding
return repr(self._op_sharding)
def normalize(self, *_):
return self