We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following lines in IDW might slow down IDW since it is a for loop over all examples. Can we use a clever math/code trick to get rid of them?
for
polire/polire/idw/idw.py
Lines 85 to 91 in 4b9360f
A relevant trick is used in causal attention. Consider the following sentence: I play cricket
I play cricket
A self-attention matrix will be 3x3 for this. Let's populate some values:
To make sure, softmax works correctly, we replace zeros with -inf.
Softmax output:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following lines in IDW might slow down IDW since it is a
for
loop over all examples. Can we use a clever math/code trick to get rid of them?polire/polire/idw/idw.py
Lines 85 to 91 in 4b9360f
A relevant trick is used in causal attention. Consider the following sentence:
I play cricket
A self-attention matrix will be 3x3 for this. Let's populate some values:
To make sure, softmax works correctly, we replace zeros with -inf.
Softmax output:
The text was updated successfully, but these errors were encountered: