Commit e45fa964 authored by Shanqing Cai's avatar Shanqing Cai Committed by TensorFlower Gardener
Browse files

tf.keras: make sure that explicit weight names are saved in HDF5

Previously, the names were substituted with 'param_<number>' under
the eager mode.

Related to: https://github.com/tensorflow/tfjs/issues/1306

- Also simplifies a part of the weights-saving logic
- Covers some tests under the graph-eager dual testing mode

PiperOrigin-RevId: 236354492
parent 2e42ee2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment