Newer versions of TF/Keras change the way serialization is handled, so one needs to define a get_config() to ensure the serialized json contains the information about the layer.
Type of change
Fixes a bug observed in new testing environment, but is benign for older setups. I updated the docs to ensure this info is not hidden away in some test no user ever sees.
[x] Bug fix (non-breaking change that fixes an issue)
Description
Newer versions of TF/Keras change the way serialization is handled, so one needs to define a
get_config()
to ensure the serialized json contains the information about the layer.Type of change
Fixes a bug observed in new testing environment, but is benign for older setups. I updated the docs to ensure this info is not hidden away in some test no user ever sees.
Tests
I extended the test in
test_extensions.py
.Checklist