Commit Graph

4 Commits

Author SHA1 Message Date
Haifeng Jin
ffa1f81b9e re-enable imports checks (#51) 2023-04-27 17:51:32 -07:00
Francois Chollet
cbc7538a0e Merge branch 'main' of github.com:keras-team/keras-core 2023-04-23 14:02:44 -07:00
Francois Chollet
69d93beb0b Progress on serialization 2023-04-23 14:01:46 -07:00
Aakash Kumar Nain
b3409e383c Add Hinge losses (#31)
* add hinge, squared_hine, and categorical hinge losses

* add tests for hinge, squared_hinge, and categorical hinge losses

* fix keyword argument for jax cond

* format docstrings for hinge losses

* format hinge losses tests

* fix linting errors in activations init and test_case py files

* fix bug in reduce_values function

* rename _transform_binary_labels to convert_binary_labels_to_hinge

* fix casting of  values in  class

* convert shape values to tensor

* add hinge metrics and the corresponding tests

* revert formatting in activations init
2023-04-24 02:30:11 +05:30