Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
tolist #21303
tolist #21303
Changes from 1 commit
bd2e965
41a7ef3
1285149
d42fb59
810b28c
9bcaf4d
dd97263
79ce782
76fbf1a
9bb5c6d
daa8ccb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Also,
ivy.tolist
has no implementation in the functional layer so this won't work. Have you tested this locally?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.
No , I had trouble checking it locally , as when I imported the file on top and ran , it kept on looks at the ivy package that was installed through req I guess
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.
Should I just delete this all and start again?
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.
How will starting over again help? You need to implement the corresponding function in ivy's functional layer and maybe in the backend too. Please read through ivy's documentation to get an understanding on this.
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.
I will go through the documentation once again , but I understood the paddle implementation. I cannot seem to find the implementation of tolist in ivy. Maybe I am wrong and sorry for troubling you. But I know that my function will take the tensor as an input and the output should be the list. But is there something inbuilt?
This is the paddle paddle documentation:
And this is what I found in the source code on github of Paddle paddle :
I still dont understand the tolist() declaration. It would help me a lot if you can somewhat guide me?
Thankyou
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.
I will say the same thing again, go through ivy's documentation to understand what you are missing.
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.
Yes went thorough the entire documentation , understood what I was doing wrong. Thankyou. After I push the corrected code here , is the octernship task complete. I didnt understand where to exactly create a pr , in the webinar on youtube they said , there is another repo that will be created by the ivy team for me , and there I have to push
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.
Also is the issue still allocated to me how do I check , because in the documentation it was mentioned 7 days
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.
why do we need this extra function?
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.
It was pasted again at the end by mistake , I corrected it.
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.
I pushed again. @vaithak