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
torch_triu_indices
torch_tril_indices
Dear fellows,
Thanks for your great work. The functions torch_triu_indices and torch_tril_indices return 0-based index in torch 0.12.0.
For example,
torch_triu_indices(2, 2, offset=1)
returns
torch_tensor 0 1 [ CPULongType{2,1} ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dear fellows,
Thanks for your great work.
The functions
torch_triu_indices
andtorch_tril_indices
return 0-based index in torch 0.12.0.For example,
torch_triu_indices(2, 2, offset=1)
returns
torch_tensor 0 1 [ CPULongType{2,1} ]
The text was updated successfully, but these errors were encountered: