Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
setopt
· 2y ago · 0 comments
Interesting. Any links to examples or docs on how to use PyTorch as a general linear algebra library for this purpose? Like a “SciPy to PyTorch” transition guide if I want to do the same?
Comments
[–]
ttyprintk
2y ago
Mentioned above:
https://data-apis.org/array-api-compat/
[–]
meisel
2y ago
It's typically just importing torch and s/np/torch, not too different from NumPy -> CuPy. Try it in your own code and see!