class tf.train.SaverDef
filename_tensor_name
Magic attribute generated for "filename_tensor_name" proto field.
keep_checkpoint_every_n_hours
Magic attribute generated for "keep_checkpoint_every_n_hours" proto field.
max_to_keep
Magic attribute generated for "max_to_keep" proto field.
restore_op_name
Magic attribute generated for "restore_op_name" proto field.
save_tensor_name
Magic attribute generated for "save_tensor_name" proto field.
sharded
Magic attribute generated for "sharded" proto field.
version
Magic attribute generated for "version" proto field.
ByteSize()
Clear()
ClearExtension(extension_handle)
ClearField(field_name)
CopyFrom(other_msg)
Copies the content of the specified message into the current message.
The method clears the current message and then merges the specified message using MergeFrom.
other_msg
: Message to copy into the current one.DiscardUnknownFields()
FindInitializationErrors()
Finds required fields which are not initialized.
A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. "foo.bar[5].baz".
FromString(s)
HasExtension(extension_handle)
HasField(field_name)
IsInitialized(errors=None)
Checks if all required fields of a message are set.
errors
: A list which, if provided, will be populated with the field paths of all missing required fields.True iff the specified message has all required fields set.
ListFields()
MergeFrom(msg)
MergeFromString(serialized)
ParseFromString(serialized)
Parse serialized protocol buffer data into this message.
Like MergeFromString(), except we clear the object first and do not return the value that MergeFromString returns.
RegisterExtension(extension_handle)
SerializePartialToString()
SerializeToString()
SetInParent()
Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
WhichOneof(oneof_name)
Returns the name of the currently set field inside a oneof, or None.
__init__(**kwargs)
CheckpointFormatVersion
DESCRIPTOR
FILENAME_TENSOR_NAME_FIELD_NUMBER
KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER
LEGACY
MAX_TO_KEEP_FIELD_NUMBER
RESTORE_OP_NAME_FIELD_NUMBER
SAVE_TENSOR_NAME_FIELD_NUMBER
SHARDED_FIELD_NUMBER
V1
V2
VERSION_FIELD_NUMBER
Defined in tensorflow/core/protobuf/saver_pb2.py
.
© 2017 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/api_docs/python/tf/train/SaverDef