classe finale publique SaverDef
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
de type Protobuf.SaverDef Classes imbriquées
classe | SaverDef.Builder | Protocol buffer representing the configuration of a Saver. | |
énumération | SaverDef.CheckpointFormatVersion | A version number that identifies a different on-disk checkpoint format. |
Constantes
Méthodes publiques
booléen | est égal à (Obj objet) |
SaverDef statique | |
ÉconomiseurDef | |
final statique com.google.protobuf.Descriptors.Descriptor | |
Chaîne | 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. |
flotter | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
int | getMaxToKeep () Maximum number of checkpoints to keep. |
Chaîne | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Chaîne | 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 | |
booléen | getSharded () Shard the save files, one per device that has Variable nodes. |
final com.google.protobuf.UnknownFieldSet | |
SaverDef.CheckpointFormatVersion | obtenirVersion () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | obtenirVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | |
booléen final | |
SaverDef.Builder statique | |
SaverDef.Builder statique | newBuilder (prototype SaverDef ) |
SaverDef.Builder | |
SaverDef statique | parseDelimitedFrom (entrée InputStream) |
SaverDef statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statique | parseFrom (données ByteBuffer) |
SaverDef statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
SaverDef statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statique | parseFrom (données com.google.protobuf.ByteString) |
SaverDef statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
SaverDef.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int FILENAME_TENSOR_NAME_FIELD_NUMBER
Valeur constante : 1
public statique final int KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER
Valeur constante : 6
public statique final int MAX_TO_KEEP_FIELD_NUMBER
Valeur constante : 4
public statique final int RESTORE_OP_NAME_FIELD_NUMBER
Valeur constante : 3
public statique final int SAVE_TENSOR_NAME_FIELD_NUMBER
Valeur constante : 2
public statique final entier SHARDED_FIELD_NUMBER
Valeur constante : 5
public statique final int VERSION_FIELD_NUMBER
Valeur constante : 7
Méthodes publiques
public booléen égal (Objet obj)
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
chaîne publique 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;
publique getParserForType ()
chaîne publique 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;
chaîne publique 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 booléen 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;
code de hachage int public ()
public final booléen isInitialized ()
public static SaverDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static SaverDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static SaverDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique SaverDef parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique SaverDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|