Skip to content
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

Merged
merged 3 commits into from
Feb 14, 2023
Merged

tensorflow.roll #10354

merged 3 commits into from
Feb 14, 2023

Conversation

ebyau
Copy link
Contributor

@ebyau ebyau commented Feb 7, 2023

No description provided.

@ivy-leaves ivy-leaves added the TensorFlow Frontend Developing the TensorFlow Frontend, checklist triggered by commenting add_frontend_checklist label Feb 7, 2023
@ebyau
Copy link
Contributor Author

ebyau commented Feb 8, 2023

@Nightcrab Could you help out on why my tests are failing



def roll(input, shift, axis, name=None):
return ivy.roll(input, shift, axis)
Copy link
Contributor

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,
Copy link
Contributor

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.

@Nightcrab Nightcrab merged commit 3390925 into ivy-llc:master Feb 14, 2023
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 17, 2023
* tensorflow.roll implementation

* code formating

* added required changes
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 23, 2023
* tensorflow.roll implementation

* code formating

* added required changes
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 26, 2023
* tensorflow.roll implementation

* code formating

* added required changes
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 26, 2023
* tensorflow.roll implementation

* code formating

* added required changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TensorFlow Frontend Developing the TensorFlow Frontend, checklist triggered by commenting add_frontend_checklist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants