Home
last modified time | relevance | path

Searched refs:vec_to_tril_matrix (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/external/pytorch/test/distributions/
H A Dtest_utils.py6 from torch.distributions.utils import tril_matrix_to_vec, vec_to_tril_matrix
25 tril_mat = vec_to_tril_matrix(vec, diag)
H A Dtest_transforms.py39 from torch.distributions.utils import tril_matrix_to_vec, vec_to_tril_matrix
427 lambda x: transform(vec_to_tril_matrix(x, diag=-1)),
H A Dtest_distributions.py106 vec_to_tril_matrix,
3934 x = vec_to_tril_matrix(x, -1)
/aosp_15_r20/external/pytorch/torch/distributions/
H A Dutils.py179 def vec_to_tril_matrix(vec: torch.Tensor, diag: int = 0) -> torch.Tensor: function
H A Dtransforms.py17 vec_to_tril_matrix,
835 r = vec_to_tril_matrix(x, diag=-1)