ivy
ivy copied to clipboard
Paddle frontend: mse_loss #17400
Close - [ ] #17400
If you are working on an open task, please edit the PR description to link to the issue you've created.
For more information, please check ToDo List Issues Guide.
Thank you :hugs:
Hey @Kamil2601, thanks a lot for the PR. Some minor changes and we are good to go with the final tests
@MuhammedAshraf2020 fixed
Hi @Kamil2601, I wanted to let you know that the tests have encountered an issue. Specifically, there is an E AssertionError due to a discrepancy in shape between the returned value and the expected ground-truth value. The returned shape is (1,), whereas the ground-truth shape is empty.
It appears that the frontend function is not behaving in the same way as the original function, even though they have the same input shape and data type.
@MuhammedAshraf2020 the problem is with binary_cross_entropy_loss, not mse
For me original paddle mse_loss returns tensor of shape (1,)
Also documentation suggest the same
It seems that there is a problem with different versions, we will have a look on that
LGTM