[Tensor] rename parallel_action (#1174)

* rename parallel_action

* polish
This commit is contained in:
Ziyue Jiang
2022-06-27 10:04:45 +08:00
committed by GitHub
parent e27645376d
commit dd0420909f
2 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ class TensorSpec(object):
The specification of the ColoTensor.
Args:
dist_spec (_DistSpec): descriping the layout among processes.
parallel_action (Optional[ComputeSpec], optional): actions conducted on the tensor after initialization if it's a model data tensor.
compute_spec (Optional[ComputeSpec], optional): actions conducted on the tensor after initialization if it's a model data tensor.
Defaults to None.
"""