Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KinglittleQ/torch-batch-svd
/ functions
Functions
12 in github.com/KinglittleQ/torch-batch-svd
⨍
Functions
12
◇
Types & classes
2
↓ 7 callers
Method
backward
(ctx, grad_u: torch.Tensor, grad_s: torch.Tensor, grad_v: torch.Tensor)
torch_batch_svd/batch_svd.py:57
↓ 2 callers
Function
bench_speed
(N, H, W)
benchs/bench_speed.py:5
↓ 2 callers
Function
unique_allocate
, class A = Status(*)(P), class D = Status(*)(T)>
torch_batch_svd/include/utils.h:25
Function
PYBIND11_MODULE
torch_batch_svd/csrc/bindings.cpp:3
Function
batch_svd_backward
https://j-towns.github.io/papers/svd-derivative.pdf This makes no assumption on the signs of sigma.
torch_batch_svd/csrc/torch_batch_svd.cpp:118
Function
batch_svd_forward
solve U S V = svd(A) a.k.a. syevj, where A (b, m, n), U (b, m, m), S (b, min(m, n)), V (b, n, n) see also https://docs.nvidia.com/cuda/cusolver/index
torch_batch_svd/csrc/torch_batch_svd.cpp:14
Method
forward
This function returns `(U, S, V)` which is the singular value decomposition of a input real matrix or batches of real matrice
torch_batch_svd/batch_svd.py:8
Method
test_double
(self)
tests/test.py:33
Method
test_float
(self)
tests/test.py:12
Method
test_half
(self)
tests/test.py:59
Method
test_multiple_gpus
(self)
tests/test.py:78
Function
unique_cuda_ptr
torch_batch_svd/include/utils.h:34