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
-
Tensors are n-dimensional arrays, where n ≥ 0. Since
0
is 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 ofValue
and transferring all of its functionality intoTensor
which 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