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

Remove from the 2.x API tf.train.Saver and related symbols which rely on sessions/collections

Saver will be replaced by tf.train.Checkpoint (and tf.contrib.checkpoint.CheckpointManager) for training checkpoints, and by a simple Python representation of a SaverDef (which may not be a public symbol).

tf.train.Checkpoint does not write/merge sharded checkpoints at the moment, so v2 will want a solution for that (tf.train.ShardedCheckpoint?).

MetaGraph import and export will be replaced by object-based tf.saved_model.import/tf.saved_model.export.

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