Home
last modified time | relevance | path

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

/aosp_15_r20/external/pytorch/test/
H A Dtest_linalg.py5658 …rom torch.testing._internal.common_utils import random_symmetric_pd_matrix, random_sparse_pd_matrix
5747 A = random_sparse_pd_matrix(m, density=density, device=device, dtype=dtype)
5748 B = random_sparse_pd_matrix(m, density=density, device=device, dtype=dtype)
5776 from torch.testing._internal.common_utils import random_sparse_pd_matrix
5783 A1 = random_sparse_pd_matrix(m, density=2.0 / m, device=device, dtype=dtype)
5798 from torch.testing._internal.common_utils import random_sparse_pd_matrix
5814 A1 = random_sparse_pd_matrix(m, density=2.0 / m, device=device, dtype=dtype)
5815 B1 = random_sparse_pd_matrix(m, density=2.0 / m, device=device, dtype=dtype)
/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcommon_utils.py4556 def random_sparse_pd_matrix(matrix_size, density=0.01, **kwargs): function