classe finale statica pubblica SaverDef.Builder
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
Metodi pubblici
SaverDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
SaverDef | costruire () |
SaverDef | buildPartial () |
SaverDef.Builder | chiaro () |
SaverDef.Builder | clearField (campo 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 | clearSharded () Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder | clearVersione () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | clone () |
RisparmioDef | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
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. |
galleggiante | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
int | 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. |
booleano | getSharded () Shard the save files, one per device that has Variable nodes. |
SaverDef.CheckpointFormatVersion | getVersione () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
booleano finale | |
SaverDef.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
SaverDef.Builder | mergeFrom (com.google.protobuf.Message altro) |
finale SaverDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
SaverDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
SaverDef.Builder | setFilenameTensorName (valore stringa) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | setFilenameTensorNameBytes (valore 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 (valore float) How often to keep an additional checkpoint. |
SaverDef.Builder | setMaxToKeep (valore int) Maximum number of checkpoints to keep. |
SaverDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
SaverDef.Builder | setRestoreOpName (valore stringa) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setRestoreOpNameBytes (valore com.google.protobuf.ByteString) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setSaveTensorName (valore stringa) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSaveTensorNameBytes (valore com.google.protobuf.ByteString) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSharded (valore booleano) Shard the save files, one per device that has Variable nodes. |
finale SaverDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
SaverDef.Builder | setVersion (valore SaverDef.CheckpointFormatVersion ) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | setVersionValue (valore int) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Metodi ereditati
Metodi pubblici
public SaverDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
pubblico int getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
stringa pubblica getRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
pubblico 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;
pubblico com.google.protobuf.ByteString getSaveTensorNameBytes ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
booleano pubblico 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 booleano isInitialized ()
public SaverDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public final SaverDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public SaverDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public SaverDef.Builder setFilenameTensorName (valore stringa)
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 (valore 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 (valore float)
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 (valore int)
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public SaverDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
public SaverDef.Builder setRestoreOpName (valore stringa)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
pubblico SaverDef.Builder setRestoreOpNameBytes (valore com.google.protobuf.ByteString)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setSaveTensorName (valore stringa)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSaveTensorNameBytes (valore com.google.protobuf.ByteString)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSharded (valore booleano)
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public SaverDef.Builder setVersion (valore SaverDef.CheckpointFormatVersion )
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public SaverDef.Builder setVersionValue (valore int)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;