pytorch re-implementation version built with pybind11
git clone https://github.com/suixin1424/pytorch-re-implementation.git
cd pytorch-re-implementation
pip install .
import ftorch as torch
details showed in tests/test_basic.py
- gc(Garbage Collector)
- torch.tensor()
- tensor.shape
- indexed access
- add operation