Commit aeb044c9 authored by Allen Lavoie's avatar Allen Lavoie Committed by TensorFlower Gardener
Browse files

assert_nontrivial_match in tf.keras.Model.load_weights (TF format)

Adds a bit of sanity checking by default to load_weights (e.g. for the case when absolutely nothing matches) while still supporting restore-on-create and the addition of new Layers to checkpointed models.

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