News for hackers. Stuff that matters.
Re:Tensor Considered Harmful Part 2 by buboard on Monday January 14, 2019 @03:57AM (#18901655)
probably to avoid confusion with numpy arrays. and to irritate physicists
Re:Tensor Considered Harmful Part 2 by argonaut on Monday January 14, 2019 @04:09AM (#18901713)
Except they literally are numpy arrays (but on GPU).
Re:Tensor Considered Harmful Part 2 by singhrac on Monday January 14, 2019 @05:21AM (#18901992)
No, you're forgetting tape-based operation tracking (requires_grad=True).
Re:Tensor Considered Harmful Part 2 by vx100 on Monday January 14, 2019 @07:16AM (#18902451)
Yes to irritating physicists, no to avoiding confusion with numpy arrays. Pytorch README:

- "Tensor computation (like NumPy) with strong GPU acceleration"

- "If you use NumPy, then you have used Tensors (a.k.a ndarray)."

Pure marketing drivel.

Re:Tensor Considered Harmful Part 2 by buboard on Monday January 14, 2019 @07:26AM (#18902483)
i mean, they have different names when used in pytorch code, tensor vs ndarray.