You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently scalar operators expect actual scalars (e.g. Reals). However they should allow for size one (or maybe strictly rank-zero) tensor nodes coming from another computation.
E.g:
NodePtr<> x, y;
auto z = Sum(x) * y;
Here Sum(x) is a size one tensor (possibly rank 0) and it is meaningful to use it as a multiplication operand, but there is no such mechanism.
The text was updated successfully, but these errors were encountered:
Currently scalar operators expect actual scalars (e.g.
Real
s). However they should allow for size one (or maybe strictly rank-zero) tensor nodes coming from another computation.E.g:
NodePtr<> x, y; auto z = Sum(x) * y;
Here
Sum(x)
is a size one tensor (possibly rank 0) and it is meaningful to use it as a multiplication operand, but there is no such mechanism.The text was updated successfully, but these errors were encountered: