DataTaunew | comments | leaders | submitlogin
1 point by stsievert 2363 days ago | link | parent

PyTorch Tensors and Numpy ndarrays share the same memory locations. Conversion from a Tensor to ndarray happens in constant time and is very quick (500-1000ns):

http://stsievert.com/blog/2017/09/07/pytorch/#numpyscipy-int...




RSS | Announcements