Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
theoracle101
on Jan 18, 2017
|
parent
|
context
|
favorite
| on:
PyTorch – Tensors and Dynamic neural networks in P...
Most important question. Is this still 1 indexed (Lua was 1 indexed, which means porting code you need to be aware of this)?
apaszke
on Jan 18, 2017
|
next
[–]
No! Python 0 based indexing everywhere.
smhx
on Jan 18, 2017
|
prev
[–]
it's 0-indexed just like everything else in python
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: