torch.empty example function contains typo
brandonfrulla opened this issue Β· comments
brandonfrulla commented
π Documentation
I noticed a small typo in the documentation example at the bottom, and I wanted to report it so that it can be corrected. I may submit a PR for it later on, so if someone wants to, please feel free to assign it to me and I can take care of it this afternoon.
torch.empty((2,3), dtype=torch.int64)
^ in the above line, torch.int()
is missing the '('
Suggested fix: Add the '(' that is missing from the torch.int()
function.
brandonfrulla commented
I realized the typo was actually on my side the whole time, disregard.