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

Add axis and where arguments to loss functions #902

Open
7 tasks
carlosgmartin opened this issue Apr 4, 2024 · 2 comments
Open
7 tasks

Add axis and where arguments to loss functions #902

carlosgmartin opened this issue Apr 4, 2024 · 2 comments

Comments

@carlosgmartin
Copy link
Contributor

carlosgmartin commented Apr 4, 2024

Feature request: Add the following arguments:

  • axis: reduction axis (default -1)
  • where: reduction mask (default None)

to the following loss functions:

I can submit a PR for this.

@vroulet
Copy link
Collaborator

vroulet commented Apr 4, 2024

Hello @carlosgmartin,

Yes, that would be great. Thanks for catching this!

@carlosgmartin
Copy link
Contributor Author

Great. Once #898 is merged I'll put together a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants