- `updates` are not relevant in V2. The original `KerasTensor` change returns an empty list for updates. This change modifies the tests checking for updates to run only in v1 mode or updates the test logic as required. - Some of the losses/add_loss tests were failing with KerasTensor because we were trying to convert KerasTensor to Tensor. This code changes/moves the conversions as required. PiperOrigin-RevId: 315438845 Change-Id: Ic2a5341cc5f2684649e2efc006e34a33e7da31ee |
||
---|---|---|
.. | ||
__init__.py | ||
BUILD | ||
loss_reduction.py | ||
losses_impl.py | ||
losses.py | ||
util_test.py | ||
util.py |