Home
last modified time | relevance | path

Searched refs:normalize_to_torch_size (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/pytorch/torch/distributed/tensor/
H A D_api.py26 normalize_to_torch_size,
1002 torch_size = normalize_to_torch_size(size)
1045 torch_size = normalize_to_torch_size(size)
1091 torch_size = normalize_to_torch_size(size)
1136 torch_size = normalize_to_torch_size(size)
1180 torch_size = normalize_to_torch_size(size)
1221 torch_size = normalize_to_torch_size(size)
H A D_utils.py300 def normalize_to_torch_size(size) -> torch.Size: # type: ignore[no-untyped-def] function
/aosp_15_r20/external/pytorch/torch/distributed/tensor/_ops/
H A D_math_ops.py29 from torch.distributed.tensor._utils import normalize_to_torch_size
802 normalized_size = normalize_to_torch_size(normalized_shape)
901 normalized_size = normalize_to_torch_size(normalized_shape)