ivy
ivy copied to clipboard
Added broadcast_to to Torch frontend
Fixes #4111
I've reworked it to use the suggested helpers, and I've checked that the dtype flag does have all valid types.
Apologies, I've clicked the request review button a bit too soon and now there's a merge conflict, I'm quickly checking everything passes and should be done in under 10 minutes unless something drastic went wrong.
The merge conflict has been fixed, but I have had to backport the copy of cumprod
from another merge conflict I've requested review for, and the helper has had to be changed to not use dtype_shared
but a slightly modified version to meet PyTorch's requirements, namely that PyTorch doesn't support most uint
types.
Made the requested changes, the full=False
flag is specified because it crashes with an error without it.
Re-opened.
This PR has been labelled as stale because it has been inactive for more than 7 days. If you would like to continue working on this PR, then please add another comment or this PR will be closed in 7 days.
This PR has been closed because it has been marked as stale for more than 7 days with no activity.
This PR has been closed because it has been marked as stale for more than 7 days with no activity.