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
Is there a way to define a custom unary operator getXAt that takes an integer i as a parameter and returns X_i? This could possibly allow creating a similar mechanism to attention.
The text was updated successfully, but these errors were encountered:
We would need to change that to allow the user to specify the AbstractOperatorEnum type, and then basically fix up all the error messages that will show up. But I feel like it wouldn't be too bad.
(There are also n-ary operators planned which someone is working on, those could be useful here as well)
Feature Request
Is there a way to define a custom unary operator
getXAt
that takes an integeri
as a parameter and returnsX_i
? This could possibly allow creating a similar mechanism to attention.The text was updated successfully, but these errors were encountered: