-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
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
tensorflow.roll #10354
tensorflow.roll #10354
Conversation
@Nightcrab Could you help out on why my tests are failing |
|
||
|
||
def roll(input, shift, axis, name=None): | ||
return ivy.roll(input, shift, axis) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
axis is keyword only, see the ivy doc:
https://lets-unify.ai/ivy/functional/ivy/manipulation/roll/roll_functional.html?highlight=*
so this should be
axis=axis
fn_tree=fn_tree, | ||
on_device=on_device, | ||
input=value[0], | ||
shifts=shift, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shifts
should be shift
, and dims
should be axis
.
* tensorflow.roll implementation * code formating * added required changes
* tensorflow.roll implementation * code formating * added required changes
* tensorflow.roll implementation * code formating * added required changes
* tensorflow.roll implementation * code formating * added required changes
No description provided.