publiczna statyczna klasa końcowa SaverDef.Builder
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
Metody publiczne
Konstruktor SaverDef | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
OszczędzaczDef | zbudować () |
OszczędzaczDef | |
Konstruktor SaverDef | jasne () |
Konstruktor SaverDef | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
Konstruktor SaverDef | wyczyśćNazwaPlikuNazwaTensora () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
Konstruktor SaverDef | wyczyśćKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
Konstruktor SaverDef | wyczyśćMaxToKeep () Maximum number of checkpoints to keep. |
Konstruktor SaverDef | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Konstruktor SaverDef | wyczyśćRestoreOpName () The operation to run when restoring a model checkpoint. |
Konstruktor SaverDef | wyczyśćZapiszNazwęTensora () The operation to run when saving a model checkpoint. |
Konstruktor SaverDef | wyczyśćSharded () Shard the save files, one per device that has Variable nodes. |
Konstruktor SaverDef | wyczyść wersję () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Konstruktor SaverDef | klon () |
OszczędzaczDef | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Smyczkowy | 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. |
platforma | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
wew | getMaxToKeep () Maximum number of checkpoints to keep. |
Smyczkowy | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Smyczkowy | getSaveTensorName () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | getSaveTensorNameBytes () The operation to run when saving a model checkpoint. |
wartość logiczna | getSharded () Shard the save files, one per device that has Variable nodes. |
SaverDef.CheckpointFormatVersion | pobierz wersję () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
wew | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
końcowa wartość logiczna | |
Konstruktor SaverDef | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
Konstruktor SaverDef | mergeFrom (com.google.protobuf.Wiadomość inna) |
końcowy SaverDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Konstruktor SaverDef | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Konstruktor SaverDef | setFilenameTensorName (wartość ciągu) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
Konstruktor SaverDef | setFilenameTensorNameBytes (wartość com.google.protobuf.ByteString) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
Konstruktor SaverDef | setKeepCheckpointEveryNHours (wartość zmiennoprzecinkowa) How often to keep an additional checkpoint. |
Konstruktor SaverDef | setMaxToKeep (wartość int) Maximum number of checkpoints to keep. |
Konstruktor SaverDef | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
Konstruktor SaverDef | setRestoreOpName (wartość ciągu) The operation to run when restoring a model checkpoint. |
Konstruktor SaverDef | setRestoreOpNameBytes (wartość com.google.protobuf.ByteString) The operation to run when restoring a model checkpoint. |
Konstruktor SaverDef | setSaveTensorName (wartość ciągu) The operation to run when saving a model checkpoint. |
Konstruktor SaverDef | setSaveTensorNameBytes (wartość com.google.protobuf.ByteString) The operation to run when saving a model checkpoint. |
Konstruktor SaverDef | setSharded (wartość logiczna) Shard the save files, one per device that has Variable nodes. |
końcowy SaverDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Konstruktor SaverDef | setVersion (wartość SaverDef.CheckpointFormatVersion ) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Konstruktor SaverDef | setVersionValue (wartość int) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Metody dziedziczone
Metody publiczne
public SaverDef.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
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 wyczyśćUtrzymuj punkt kontrolnyCo NHours ()
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;
publiczny 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;
publiczny SaverDef.Builder clearVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public 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;
publiczny int getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
publiczny ciąg 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;
publiczny ciąg 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;
publiczna wartość logiczna getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
publiczny int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
publiczna końcowa wartość logiczna isInitialized ()
public SaverDef.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczny końcowy SaverDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public SaverDef.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public SaverDef.Builder setFilenameTensorName (wartość ciągu)
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 (wartość 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 (wartość zmiennoprzecinkowa)
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 (wartość int)
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public SaverDef.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
public SaverDef.Builder setRestoreOpName (wartość ciągu)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setRestoreOpNameBytes (wartość com.google.protobuf.ByteString)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setSaveTensorName (wartość ciągu)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSaveTensorNameBytes (wartość com.google.protobuf.ByteString)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSharded (wartość logiczna)
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
publiczny końcowy SaverDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public SaverDef.Builder setVersion (wartość SaverDef.CheckpointFormatVersion )
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public SaverDef.Builder setVersionValue (wartość int)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;