Commit ccefd0a1 authored by Francois Chollet's avatar Francois Chollet Committed by Gunhan Gulsoy
Browse files

Fixes and simplification in the Keras training engine.

- Explicitly disallow sample/class weighting in eager (it was never supported)
- Remove tests for it (which were actually ignoring sample/class weights)
- Make sample weight placeholders placeholder_with_default, and do not create all-ones numpy arrays to feed them when no sample weights are provided (this might lead to better performance)

PiperOrigin-RevId: 187121215
parent 9ba9cf25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment