Commit 93010856 authored by Andr? Susano Pinto's avatar Andr? Susano Pinto Committed by TensorFlower Gardener
Browse files

Refactor code for listing checkpointable functions of an object.

The main goal is to move the logic of "dir+getattr" from all checkpointable
objects to just "AutoCheckpointable". Similar to how checkpointable base
does not enforces

The refactoring also provides an internal mechanism for a class to provide
its own listing of functions if needed and makes obsolete the need to register
a getter and an attribute extractor.

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