Checkpointable: Utility to gather initialization ops
A bit safer, since only variables which will be saved get initialized. Graph building then raises an error when you've used one which won't be saved. Reduces the need for the global collection. Makes it a bit easier to deal with initialization when writing graph/eager agnostic programs. PiperOrigin-RevId: 186835744
Loading
Please sign in to comment