classe final pública SaverDef
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
Classes aninhadas
aula | SaverDef.Builder | Protocol buffer representing the configuration of a Saver. | |
enumeração | SaverDef.CheckpointFormatVersion | A version number that identifies a different on-disk checkpoint format. |
Constantes
interno | FILENAME_TENSOR_NAME_FIELD_NUMBER | |
interno | KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER | |
interno | MAX_TO_KEEP_FIELD_NUMBER | |
interno | RESTORE_OP_NAME_FIELD_NUMBER | |
interno | SAVE_TENSOR_NAME_FIELD_NUMBER | |
interno | SHARDED_FIELD_NUMBER | |
interno | VERSION_FIELD_NUMBER |
Métodos Públicos
booleano | é igual (objeto obj) |
SaverDef estático | |
SaverDef | |
final estático com.google.protobuf.Descriptors.Descriptor | |
Corda | 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. |
interno | getMaxToKeep () Maximum number of checkpoints to keep. |
Corda | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Corda | getSaveTensorName () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | getSaveTensorNameBytes () The operation to run when saving a model checkpoint. |
interno | |
booleano | obterSharded () Shard the save files, one per device that has Variable nodes. |
final com.google.protobuf.UnknownFieldSet | |
SaverDef.CheckpointFormatVersion | getVersão () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
interno | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
interno | código hash () |
booleano final | |
SaverDef.Builder estático | |
SaverDef.Builder estático | newBuilder (protótipo SaverDef ) |
SaverDef.Builder | |
SaverDef estático | parseDelimitedFrom (entrada InputStream) |
SaverDef estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef estático | parseFrom (dados de ByteBuffer) |
SaverDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef estático | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
SaverDef estático | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef estático | parseFrom (dados com.google.protobuf.ByteString) |
SaverDef estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef estático | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
SaverDef.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
int final estático público FILENAME_TENSOR_NAME_FIELD_NUMBER
Valor Constante: 1
público estático 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
int final estático público SAVE_TENSOR_NAME_FIELD_NUMBER
Valor Constante: 2
int final estático público SHARDED_FIELD_NUMBER
Valor Constante: 5
público estático final int VERSION_FIELD_NUMBER
Valor Constante: 7
Métodos Públicos
booleano público é igual (Object obj)
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
String pública 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;
flutuador público 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;
público intgetMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
público getParserForType ()
String pública getRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
público com.google.protobuf.ByteString getRestoreOpNameBytes ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
String pública getSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
público com.google.protobuf.ByteString getSaveTensorNameBytes ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
público int getSerializedSize ()
getSharded booleano público ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
public SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
hashCode int público ()
público final booleano isInitialized ()
public static SaverDef parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SaverDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SaverDef parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
público estático SaverDef parseFrom (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SaverDef parseFrom (dados com.google.protobuf.ByteString, 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 |
---|