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
Hello,
I am new to SparseTIR and wonder whether it can support operations other than multiplication and addition.
For example, the below expression is valid SparseTIR or not?
with T.sp_iter([I, J], "SR") as [i, j]: with T.init(): Y[i, j] = 0.0 Y[i] = Y[i, j] + (X[i] - X[j]) ** 2
Thanks!
The text was updated successfully, but these errors were encountered:
Sorry for the very late reply, I just noticed this issue.
Yes of course, but I'm not sure if the parser can parse ** correctly. A safer way would be T.power(X[i] - X[j], 2)
**
T.power(X[i] - X[j], 2)
Sorry, something went wrong.
No branches or pull requests
Hello,
I am new to SparseTIR and wonder whether it can support operations other than multiplication and addition.
For example, the below expression is valid SparseTIR or not?
Thanks!
The text was updated successfully, but these errors were encountered: