4 ms·
>PyTorch is almost (or even literally?) a fork of chainer That's funny, I would have assumed PyTorch to be, like, the python version of Torch?
by _0ffh 8y ago
>PyTorch is almost (or even literally?) a fork of chainer
That's funny, I would have assumed PyTorch to be, like, the python version of Torch?
- colesbury 8y agoThe PyTorch tensor library was originally basically the Python version of Torch 7. It's now moving closer towards NumPy's API (and farther from Torch 7). Th autograd library was inspired by Chainer's design and took a lot of concepts (but not code) directly from Chainer. The neural network API is a bit of a hybrid. It's built on top of the autograd library but the layer names, implementations, and some conventions were inherited from Torch 7's NN and cuNN libraries. (EDIT: and the name "autograd" originates from HIPS autograd library, which I think predates Chainer)