Searched refs:random_sparse_matrix (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/pytorch/test/ |
H A D | test_linalg.py | 2440 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 D | common_utils.py | 4535 def random_sparse_matrix(rows, columns, density=0.01, **kwargs): function
|