org.tensorflow.util.SaverDefOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/saver.proto
package org.tensorflow.util;
public interface SaverDefOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.SaverDef)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* The name of the tensor in which to specify the filename when saving or
* restoring a model checkpoint.
*
*
* string filename_tensor_name = 1;
* @return The filenameTensorName.
*/
java.lang.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;
* @return The bytes for filenameTensorName.
*/
org.nd4j.shade.protobuf.ByteString
getFilenameTensorNameBytes();
/**
*
* The operation to run when saving a model checkpoint.
*
*
* string save_tensor_name = 2;
* @return The saveTensorName.
*/
java.lang.String getSaveTensorName();
/**
*
* The operation to run when saving a model checkpoint.
*
*
* string save_tensor_name = 2;
* @return The bytes for saveTensorName.
*/
org.nd4j.shade.protobuf.ByteString
getSaveTensorNameBytes();
/**
*
* The operation to run when restoring a model checkpoint.
*
*
* string restore_op_name = 3;
* @return The restoreOpName.
*/
java.lang.String getRestoreOpName();
/**
*
* The operation to run when restoring a model checkpoint.
*
*
* string restore_op_name = 3;
* @return The bytes for restoreOpName.
*/
org.nd4j.shade.protobuf.ByteString
getRestoreOpNameBytes();
/**
*
* Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
*
*
* int32 max_to_keep = 4;
* @return The maxToKeep.
*/
int getMaxToKeep();
/**
*
* Shard the save files, one per device that has Variable nodes.
*
*
* bool sharded = 5;
* @return The sharded.
*/
boolean getSharded();
/**
*
* 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;
* @return The keepCheckpointEveryNHours.
*/
float getKeepCheckpointEveryNHours();
/**
* .tensorflow.SaverDef.CheckpointFormatVersion version = 7;
* @return The enum numeric value on the wire for version.
*/
int getVersionValue();
/**
* .tensorflow.SaverDef.CheckpointFormatVersion version = 7;
* @return The version.
*/
org.tensorflow.util.SaverDef.CheckpointFormatVersion getVersion();
}