Home
last modified time | relevance | path

Searched refs:bytes_to_scalar (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcommon_utils.py4892 def bytes_to_scalar(byte_list: List[int], dtype: torch.dtype, device: torch.device): function
/aosp_15_r20/external/pytorch/test/
H A Dtest_torch.py45 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),