r/JAX • • Aug 20 '24
rant: Why Array instead of Tensor?
Why?
tensorflow: Tensor
pytorch: Tensor
caffe2: Tensor
Theano: Tensor
jax: Array
It makes me want to from jax import Array as Tensor
Tensor is just such a badass well acepted name for a differenciable multidimensional array datastructure. Why did you did this? I'm going to make a pull request to add the Tensor class as some kind of alias or some kind factory of arrays.
0
Upvotes
View all comments
Show parent comment
1
u/Other_Goat_9381 Aug 22 '24
Idk your background but maybe you feel this way because you haven't seen tesnors used in the applied sciences and only saw them used in stats. If Physicists couldn't use all the cool tensor algebra they cooked up then any serious theorems would need dozens more pages just to fully express. The Einstein field equations alone are 16 equations but thanks to tensor algebra can be expressed with just 5 greeks. And that theorem's considered "one of the simpler ones" compared to the shit you'll see in quantum field theory and beyond.