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

Remove a checkpointable dependency on __delattr__

I ran into this when writing an error message for ".signatures" being a reserved attribute in tf.saved_model.save. I want to write "'del obj.signatures' if you don't care", but that didn't actually remove the dependency.

This isn't any more unsafe than overwriting an attribute with __setattr__, which we already support. It's a somewhat weird thing to do in terms of checkpointing, though.

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