Module: tf.train

TensorFlow 1 version

Support for training models.

See the Training guide.

Modules

experimental module: Public API for tf.train.experimental namespace.

Classes

class BytesList: A ProtocolMessage

class Checkpoint: Groups trackable objects, saving and restoring them.

class CheckpointManager: Manages multiple checkpoints by keeping some and deleting unneeded ones.

class CheckpointOptions: Options for constructing a Checkpoint.

class ClusterDef: A ProtocolMessage

class ClusterSpec: Represents a cluster as a set of "tasks", organized into "jobs".

class Coordinator: A coordinator for threads.

class Example: A ProtocolMessage

class ExponentialMovingAverage: Maintains moving averages of variables by employing an exponential decay.

class Feature: A ProtocolMessage

class FeatureList: A ProtocolMessage

class FeatureLists: A ProtocolMessage

class Features: A ProtocolMessage

class FloatList: A ProtocolMessage

class Int64List: A ProtocolMessage

class JobDef: A ProtocolMessage

class SequenceExample: A ProtocolMessage

class ServerDef: A ProtocolMessage

Functions

checkpoints_iterator(...): Continuously yield new checkpoint files as they appear.

get_checkpoint_state(...): Returns CheckpointState proto from the "checkpoint" file.

latest_checkpoint(...): Finds the filename of latest saved checkpoint file.

list_variables(...): Returns list of all variables in the checkpoint.

load_checkpoint(...): Returns CheckpointReader for checkpoint found in ckpt_dir_or_file.

load_variable(...): Returns the tensor value of the given variable in the checkpoint.