classe finale statique publique SaverDef.Builder
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
de type Protobuf.SaverDef Méthodes publiques
SaverDef.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
ÉconomiseurDef | construire () |
ÉconomiseurDef | buildPartial () |
SaverDef.Builder | clair () |
SaverDef.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
SaverDef.Builder | clearFilenameTensorName () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | clearKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
SaverDef.Builder | clearMaxToKeep () Maximum number of checkpoints to keep. |
SaverDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SaverDef.Builder | clearRestoreOpName () The operation to run when restoring a model checkpoint. |
SaverDef.Builder | clearSaveTensorName () The operation to run when saving a model checkpoint. |
SaverDef.Builder | clairPartagé () Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder | version claire () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | cloner () |
ÉconomiseurDef | |
final statique com.google.protobuf.Descriptors.Descriptor | |
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. |
booléen | getSharded () Shard the save files, one per device that has Variable nodes. |
SaverDef.CheckpointFormatVersion | obtenirVersion () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | obtenirVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
booléen final | |
SaverDef.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef.Builder | mergeFrom (com.google.protobuf.Message autre) |
SaverDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
SaverDef.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
SaverDef.Builder | setFilenameTensorName (valeur de chaîne) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | setFilenameTensorNameBytes (valeur com.google.protobuf.ByteString) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | setKeepCheckpointEveryNHours (valeur flottante) How often to keep an additional checkpoint. |
SaverDef.Builder | setMaxToKeep (valeur entière) Maximum number of checkpoints to keep. |
SaverDef.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
SaverDef.Builder | setRestoreOpName (valeur de chaîne) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setRestoreOpNameBytes (valeur com.google.protobuf.ByteString) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setSaveTensorName (valeur de chaîne) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSaveTensorNameBytes (valeur com.google.protobuf.ByteString) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSharded (valeur booléenne) Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
SaverDef.Builder | setVersion (valeur SaverDef.CheckpointFormatVersion ) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | setVersionValue (valeur entière) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Méthodes héritées
Méthodes publiques
public SaverDef.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public SaverDef.Builder clearFilenameTensorName ()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
public SaverDef.Builder clearKeepCheckpointEveryNHours ()
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 SaverDef.Builder clearMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public SaverDef.Builder clearRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder clearSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder clearSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
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 booléen getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public final booléen isInitialized ()
public SaverDef.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public final SaverDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SaverDef.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public SaverDef.Builder setFilenameTensorName (valeur de chaîne)
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
public SaverDef.Builder setFilenameTensorNameBytes (valeur com.google.protobuf.ByteString)
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
public SaverDef.Builder setKeepCheckpointEveryNHours (valeur flottante)
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 SaverDef.Builder setMaxToKeep (valeur int)
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public SaverDef.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
public SaverDef.Builder setRestoreOpName (valeur de chaîne)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setRestoreOpNameBytes (valeur com.google.protobuf.ByteString)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setSaveTensorName (valeur de chaîne)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSaveTensorNameBytes (valeur com.google.protobuf.ByteString)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSharded (valeur booléenne)
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public SaverDef.Builder setVersion (valeur SaverDef.CheckpointFormatVersion )
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public SaverDef.Builder setVersionValue (valeur int)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;