public final class SaverDef
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
tipo tensorflow.SaverDef
Classes aninhadas
aula | SaverDef.Builder | Protocol buffer representing the configuration of a Saver. | |
enum | SaverDef.CheckpointFormatVersion | A version number that identifies a different on-disk checkpoint format. |
Constantes
Métodos Públicos
boleano | igual a (objeto obj) |
static SaverDef | |
SaverDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getFilenameTensorName () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
com.google.protobuf.ByteString | getFilenameTensorNameBytes () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
flutuador | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
int | getMaxToKeep () Maximum number of checkpoints to keep. |
Fragmento | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Fragmento | getSaveTensorName () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | getSaveTensorNameBytes () The operation to run when saving a model checkpoint. |
int | |
boleano | getSharded () Shard the save files, one per device that has Variable nodes. |
final com.google.protobuf.UnknownFieldSet | |
SaverDef.CheckpointFormatVersion | getVersion () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | hashCode () |
final booleano | |
static SaverDef.Builder | newBuilder () |
static SaverDef.Builder | newBuilder (protótipo SaverDef ) |
SaverDef.Builder | |
static SaverDef | parseDelimitedFrom (InputStream input) |
static SaverDef | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SaverDef | parseFrom (dados ByteBuffer) |
static SaverDef | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SaverDef | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SaverDef | parseFrom (com.google.protobuf.CodedInputStream input) |
static SaverDef | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SaverDef | parseFrom (com.google.protobuf.ByteString data) |
static SaverDef | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SaverDef | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
SaverDef.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int FILENAME_TENSOR_NAME_FIELD_NUMBER
Valor Constante: 1
public static final int KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER
Valor constante: 6
público estático final int MAX_TO_KEEP_FIELD_NUMBER
Valor constante: 4
público estático final int RESTORE_OP_NAME_FIELD_NUMBER
Valor Constante: 3
público estático final int SAVE_TENSOR_NAME_FIELD_NUMBER
Valor constante: 2
public static final int SHARDED_FIELD_NUMBER
Valor constante: 5
public static final int VERSION_FIELD_NUMBER
Valor constante: 7
Métodos Públicos
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public 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 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 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 int getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
público getParserForType ()
public String getRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public com.google.protobuf.ByteString getRestoreOpNameBytes ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public String getSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public com.google.protobuf.ByteString getSaveTensorNameBytes ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public int getSerializedSize ()
public boolean getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public int hashCode ()
public final boolean isInitialized ()
public static SaverDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SaverDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SaverDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SaverDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|