Home
last modified time | relevance | path

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

/aosp_15_r20/external/pytorch/test/
H A Dtest_linalg.py2440 from torch.testing._internal.common_utils import random_lowrank_matrix, random_sparse_matrix
2453 a_input = random_sparse_matrix(rows, columns, density, device=device, dtype=dtype)
8101 from torch.testing._internal.common_utils import random_lowrank_matrix, random_sparse_matrix
8116 a_input = random_sparse_matrix(rows, columns, density, device=device, dtype=dtype)
/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcommon_utils.py4535 def random_sparse_matrix(rows, columns, density=0.01, **kwargs): function