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

Conv2D #10505 #11224

Closed
wants to merge 0 commits into from
Closed

Conv2D #10505 #11224

wants to merge 0 commits into from

Conversation

kaushal07wick
Copy link
Contributor

New PR for the Conv2D support in raw_ops and raw_ops test file
It passes all the tests.
But it doesn't has explicit_padding support.

@kaushal07wick kaushal07wick mentioned this pull request Feb 28, 2023
@ivy-leaves ivy-leaves added the TensorFlow Frontend Developing the TensorFlow Frontend, checklist triggered by commenting add_frontend_checklist label Feb 28, 2023
@Infrared1029
Copy link
Contributor

Hi @kaushal07wick! Thanks a lot for taking the time to contribute to ivy, since this is a frontend function, it has to adhere to the true tf.raw_ops.Conv2D function signature, we can not exclude the explicit_padding argument (even if we end up not using it in the function). Saying that, explicit padding is not the type of argument to be ignored as it contributes to the final output of the function, unlike other arguments such as use_cudnn_gpu which still must be included (to adhere to the true definition of the function) but is never used as it does not contribute to the "mathematics" of Conv2D. Also, make sure to remove commented code.

@kaushal07wick
Copy link
Contributor Author

Hi @kaushal07wick! Thanks a lot for taking the time to contribute to ivy, since this is a frontend function, it has to adhere to the true tf.raw_ops.Conv2D function signature, we can not exclude the explicit_padding argument (even if we end up not using it in the function). Saying that, explicit padding is not the type of argument to be ignored as it contributes to the final output of the function, unlike other arguments such as use_cudnn_gpu which still must be included (to adhere to the true definition of the function) but is never used as it does not contribute to the "mathematics" of Conv2D. Also, make sure to remove commented code.

Hi @Infrared1029 , the commented code is of explicit_paddings, bu tit was giving some issues, so I tested it without it and created a PR after successful tests.

I will work on the explicit_padding support and push it very soon.
It would be great to get some help from you.

@Infrared1029
Copy link
Contributor

Hi @kaushal07wick! Thanks a lot for taking the time to contribute to ivy, since this is a frontend function, it has to adhere to the true tf.raw_ops.Conv2D function signature, we can not exclude the explicit_padding argument (even if we end up not using it in the function). Saying that, explicit padding is not the type of argument to be ignored as it contributes to the final output of the function, unlike other arguments such as use_cudnn_gpu which still must be included (to adhere to the true definition of the function) but is never used as it does not contribute to the "mathematics" of Conv2D. Also, make sure to remove commented code.

Hi @Infrared1029 , the commented code is of explicit_paddings, bu tit was giving some issues, so I tested it without it and created a PR after successful tests.

I will work on the explicit_padding support and push it very soon. It would be great to get some help from you.

Good luck! sure just ping me if you need any help.

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