Home
last modified time | relevance | path

Searched refs:_to_sparse (Results 1 – 8 of 8) sorted by relevance

/external/pytorch/torch/testing/_internal/opinfo/definitions/
Dsparse.py507 def _to_sparse(tensor, **kwargs): function
548 lhs_sparse = _to_sparse(lhs, **to_sparse_kwargs)
549 rhs_sparse = _to_sparse(rhs, **to_sparse_kwargs)
/external/pytorch/torch/masked/maskedtensor/
D_ops_refs.py426 @register_dispatch_func([torch.ops.aten._to_sparse])
427 def _to_sparse(func, *args, **kwargs): function
/external/pytorch/test/expect/
DHasDecompTest.test_has_decomposition.expect591 aten::_to_sparse
592 aten::_to_sparse.out
593 aten::_to_sparse.sparse_dim
594 aten::_to_sparse.sparse_dim_out
/external/pytorch/aten/src/ATen/native/
DTensorConversions.cpp1967 return self._to_sparse(sparse_dim); in to_sparse()
1976 return self._to_sparse(layout, blocksize, dense_dim_opt); in to_sparse()
/external/pytorch/test/
Dtest_meta.py835 aten._to_sparse.default : {c64, f16, i8, f64, c128, i64, bf16, f32, i32, b8, i16, u8},
836 aten._to_sparse.sparse_dim : {c64, f16, i8, f64, c128, i64, bf16, f32, i32, b8, i16, u8},
Dtest_sparse_csr.py555 def _to_sparse(x): function
565 sparse_sample = sample.transform(_to_sparse)
/external/pytorch/torch/
Doverrides.py349 Tensor._to_sparse,
/external/pytorch/torch/_inductor/
Dlowering.py2365 make_fallback(aten._to_sparse)