mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Add determinant function on variable; Add backward on svd (#3816)
* determinant on variable * svd bwd
This commit is contained in:
committed by
Soumith Chintala
parent
80c8635a7e
commit
c681b03d37
@ -54,7 +54,9 @@ UNPACK_SELF = "auto& self_ = reinterpret_cast<THPVariable*>(self)->cdata;"
|
||||
# to add an appropriate wrap() overload in torch/csrc/autograd/utils/wrap_outputs.h.
|
||||
SUPPORTED_RETURN_TYPES = {
|
||||
'Tensor', 'std::tuple<Tensor,Tensor>',
|
||||
'std::tuple<Tensor,Tensor,Tensor>', 'std::vector<Tensor>',
|
||||
'std::tuple<Tensor,Tensor,Tensor>',
|
||||
'std::tuple<Tensor,Tensor,Tensor,Tensor>',
|
||||
'std::vector<Tensor>',
|
||||
'Scalar', 'bool', 'int64_t', 'void*'
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user