Match the argument name with the name in Args section in docstring

PiperOrigin-RevId: 663926739
This commit is contained in:
Yash Katariya 2024-08-16 17:21:10 -07:00 committed by jax authors
parent 3a6ff86df9
commit 0c543aef1d

View File

@ -883,11 +883,11 @@ def make_array_from_process_local_data(
Args:
sharding: sharding of the global tensor.
host_local_data: data on the host to be placed on local devices. Each
local_data: data on the host to be placed on local devices. Each
dimension should either match global_shape, or match
num_addressable_indices(dim).
global_shape: the target shape of the global tensor. If None,
will infer from host_local_data and sharding.
will infer from local_data and sharding.
Returns:
Tensor that will have sharding=sharding and of shape global_shape.