public interface
SaverDefOrBuilder
Known Indirect Subclasses |
Public Methods
abstract String |
getFilenameTensorName()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
abstract com.google.protobuf.ByteString |
getFilenameTensorNameBytes()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
abstract float |
getKeepCheckpointEveryNHours()
How often to keep an additional checkpoint. |
abstract int |
getMaxToKeep()
Maximum number of checkpoints to keep. |
abstract String |
getRestoreOpName()
The operation to run when restoring a model checkpoint. |
abstract com.google.protobuf.ByteString |
getRestoreOpNameBytes()
The operation to run when restoring a model checkpoint. |
abstract String |
getSaveTensorName()
The operation to run when saving a model checkpoint. |
abstract com.google.protobuf.ByteString |
getSaveTensorNameBytes()
The operation to run when saving a model checkpoint. |
abstract boolean |
getSharded()
Shard the save files, one per device that has Variable nodes. |
abstract SaverDef.CheckpointFormatVersion |
getVersion()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
|
abstract int |
getVersionValue()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
|
Public Methods
public abstract String getFilenameTensorName ()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
public abstract com.google.protobuf.ByteString getFilenameTensorNameBytes ()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
public abstract float getKeepCheckpointEveryNHours ()
How often to keep an additional checkpoint. If not specified, only the last "max_to_keep" checkpoints are kept; if specified, in addition to keeping the last "max_to_keep" checkpoints, an additional checkpoint will be kept for every n hours of training.
float keep_checkpoint_every_n_hours = 6;
public abstract int getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public abstract String getRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public abstract com.google.protobuf.ByteString getRestoreOpNameBytes ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public abstract String getSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public abstract com.google.protobuf.ByteString getSaveTensorNameBytes ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public abstract boolean getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public abstract SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public abstract int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;