How are the dim of tensor calculated? #1271
Unanswered
HarryBhangal
asked this question in
Q&A
Replies: 1 comment
-
|
im not sure i get you question but think of a list if it has just [1,2,3,4,5] it is considered a 1d list right but when we have something like [[1,2],[1,2]] it becomes a list of a list... a 2 dim list if you will and since tensors are basically tuples which are basically immutable lists yeah the idea still works. hope this helps basically i just count the number of square brakackets "[" before a number to know the dim. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey im confused in how the dim is calculated?
Beta Was this translation helpful? Give feedback.
All reactions