Improve Model and its subclasses.
Clean-up Model and its subclasses:
- Improve documentation of Model methods.
- Harmonize
_unpack_batchmethod name for the current Model subclasses. - Harmonize loss-averaging behavior of the current Model subclasses.
Improve TensorflowModel:
- Optimize gradients computation in
TensorflowModelusingtf.function. - Improve the management and serialization of
lossinTensorflowModel. - Implement utilities to build keras Loss objects from strings or functions.