Searched refs:bytes_to_scalar (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/pytorch/torch/testing/_internal/ |
H A D | common_utils.py | 4892 def bytes_to_scalar(byte_list: List[int], dtype: torch.dtype, device: torch.device): function
|
/aosp_15_r20/external/pytorch/test/ |
H A D | test_torch.py | 45 bytes_to_scalar, parametrize, skipIfMps, noncontiguous_like, 175 scalar = bytes_to_scalar(bytes_list, dtype, device) 203 bytes_to_scalar(v_s_byte[start:end], dtype, device),
|