tf.train.SaverDef

A ProtocolMessage

Attributes
filename_tensor_name string filename_tensor_name
keep_checkpoint_every_n_hours float keep_checkpoint_every_n_hours
max_to_keep int32 max_to_keep
restore_op_name string restore_op_name
save_tensor_name string save_tensor_name
sharded bool sharded
version CheckpointFormatVersion version

Class Variables

  • CheckpointFormatVersion
  • LEGACY = 0
  • V1 = 1
  • V2 = 2

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/train/SaverDef