-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add binary_cross_entropy in functional.frontends.torch (#2310)
* add frontend.torch.loss_functions and BCE * add test_loss_functions and edit bce * revert nn.loss_functions to loss_functions * Edit formating and edit test code * Edit formatting * Update test_loss_functions.py Update fn_name in helpers.test_frontend_function to fn_tree * Delete statistical.py * Update test_loss_functions.py * Revert "Delete statistical.py" * Update loss_fuctions and test code * Update loss_functions formating * Update test exclude_min and max * Update reviewed code and test code Co-authored-by: jiahanxie353 <[email protected]>
- Loading branch information
1 parent
202e97f
commit f648e9e
Showing
2 changed files
with
177 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters