-
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
[Fix] Remove reference to array_or_none()
in torch frontend test
#9442
Conversation
@CatB1t, could you kindly review this PR? Thank you! |
array_or_none()
in torch frontend testarray_or_none()
in torch frontend test
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.
Hello @jaketae, Thanks a lot for your work! I've requested a few changes then we're good to merge!
ivy_tests/test_ivy/test_frontends/test_torch/test_loss_functions.py
Outdated
Show resolved
Hide resolved
ivy_tests/test_ivy/test_frontends/test_torch/test_loss_functions.py
Outdated
Show resolved
Hide resolved
Hello @CatB1t, thanks for the review! I've made changes as requested. Let me know if there's more to do! |
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.
lgtm! thanks for your work @jaketae.
…vy-llc#9442) Co-authored-by: CatB1t <[email protected]>
Context
As discussed in #9440, the torch frontend
test_loss_functions.py
includes a reference to thehelpers.array_or_none()
method, which was removed in commit c8d0524. This has been causing many CI runs to fail due to issues unrelated to the PR itself.Solution
The referenced commit introduces a fix via
st.one_of()
. This PR also incorporates this fix to remove the illegal reference toarray_or_none()
. Closes #9440.