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
We have tensor.repeat, which is really np.tile. :)
tensor.repeat
np.tile
It seems that it could be implemented via expands + a cat, if cat doesn't contiguous-fy the inputs...
expand
cat
The text was updated successfully, but these errors were encountered:
Yep parity with numpy naming on these functions in particular would make things less confusing.
Sorry, something went wrong.
numpy like repeat will be very helpful to me, please, please, please add this to pytorch :)
8c9caf1
Add numpy like repeat as torch.repeat_interleave (#18395)
83ee44a
Summary: Fixes: pytorch/pytorch#14093 cc: SsnL Pull Request resolved: pytorch/pytorch#18395 Differential Revision: D14599509 Pulled By: umanwizard fbshipit-source-id: 2391a1cc135fe5bab38475f1c8ed87c4a96222f3
Add numpy like repeat as torch.repeat_interleave (pytorch#18395)
015aea3
Summary: Fixes: pytorch#14093 cc: SsnL Pull Request resolved: pytorch#18395 Differential Revision: D14599509 Pulled By: umanwizard fbshipit-source-id: 2391a1cc135fe5bab38475f1c8ed87c4a96222f3
Successfully merging a pull request may close this issue.
We have
tensor.repeat
, which is reallynp.tile
. :)It seems that it could be implemented via
expand
s + acat
, ifcat
doesn't contiguous-fy the inputs...The text was updated successfully, but these errors were encountered: