def _sharding_constraint(arg: TfVal, *, partitions: pxla.PartitionsOrReplicated):
    return split_to_logical_devices(arg, partitions)
def _sharding_constraint(arg: TfVal, *, partitions: pxla.PartitionsOrReplicated):
    return split_to_logical_devices(arg, partitions)