News for hackers. Stuff that matters.
Re:PyTorch – Tensors and Dynamic neural networks in Python by theoracle101 on Wednesday January 18, 2017 @02:23PM (#13429445)
Most important question. Is this still 1 indexed (Lua was 1 indexed, which means porting code you need to be aware of this)?
Re:PyTorch – Tensors and Dynamic neural networks in Python by apaszke on Wednesday January 18, 2017 @02:32PM (#13429536)
No! Python 0 based indexing everywhere.
Re:PyTorch – Tensors and Dynamic neural networks in Python by smhx on Wednesday January 18, 2017 @02:32PM (#13429539)
it's 0-indexed just like everything else in python