Deprecate Value struct #2
LazaroHurtado
started this conversation in
Ideas
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Tensors are n-dimensional arrays, where n ≥ 0. Since
0is within this range then a tensor has the ability to act as a scalar. This is shown in popular deep learning frameworks like Pytorch and Tensorflow. Therefore, we should mimic this behavior and begin removing any mentions ofValueand transferring all of its functionality intoTensorwhich will become a struct instead of what it is now, a type alias. The reasoning behind having Tensor as a struct is to implement the necessary fields required for backward and forward pass.This is a developing discussion.
Beta Was this translation helpful? Give feedback.
All reactions