Adds TimedThread to keras.utils. This utility be useful if we want to run a function every x seconds while the training loop is running.

PiperOrigin-RevId: 523572226
This commit is contained in:
Ramesh Sampath 2023-04-11 19:16:59 -07:00 committed by TensorFlower Gardener
parent e847390021
commit f3e12ef46a

View File

@ -18,6 +18,9 @@
modifying H5 files saved by Keras under a `.keras` extension.
If this breaks you, simply add `save_format="h5"` to your `.save()` call
to revert back to the prior behavior.
* Added `keras.utils.TimedThread` utility to run a timed thread every x
seconds. It can be used to run a threaded function alongside model
training or any other snippet of code.
* The LMDB kernels have been changed to return an error. This is in preparation
for completely removing them from TensorFlow. The LMDB dependency that these