kelas akhir statis publik SaverDef.Builder
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
Metode Publik
SaverDef.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
SaverDef | membangun () |
SaverDef | |
SaverDef.Builder | jernih () |
SaverDef.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
SaverDef.Builder | hapus Nama File Nama Tensor () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | hapusKeepCheckpointSetiapNJam () How often to keep an additional checkpoint. |
SaverDef.Builder | hapusMaxToKeep () Maximum number of checkpoints to keep. |
SaverDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SaverDef.Builder | hapusRestoreOpName () The operation to run when restoring a model checkpoint. |
SaverDef.Builder | hapusSimpanTensorName () The operation to run when saving a model checkpoint. |
SaverDef.Builder | jelas dipecah () Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder | versi jelas () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | klon () |
SaverDef | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
Rangkaian | dapatkan Nama File Nama Tensor () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
com.google.protobuf.ByteString | dapatkanNamaFileTensorNamaBytes () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
mengambang | dapatkanKeepCheckpointSetiapNhours () How often to keep an additional checkpoint. |
ke dalam | dapatkanMaxToKeep () Maximum number of checkpoints to keep. |
Rangkaian | dapatkanRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | dapatkanRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Rangkaian | dapatkanSimpanTensorName () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | dapatkanSimpanTensorNameBytes () The operation to run when saving a model checkpoint. |
boolean | dapatkan Sharded () Shard the save files, one per device that has Variable nodes. |
SaverDef.CheckpointFormatVersion | dapatkanVersi () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
ke dalam | dapatkanVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
boolean terakhir | |
SaverDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
SaverDef.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
SaverDef.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
SaverDef.Builder | setFilenameTensorName (Nilai string) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | setFilenameTensorNameBytes (nilai 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 (nilai mengambang) How often to keep an additional checkpoint. |
SaverDef.Builder | setMaxToKeep (nilai int) Maximum number of checkpoints to keep. |
SaverDef.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
SaverDef.Builder | setRestoreOpName (Nilai string) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setRestoreOpNameBytes (nilai com.google.protobuf.ByteString) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setSaveTensorName (Nilai string) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSaveTensorNameBytes (nilai com.google.protobuf.ByteString) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSharded (nilai boolean) Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
SaverDef.Builder | setVersion (nilai SaverDef.CheckpointFormatVersion ) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | setVersionValue (nilai int) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Metode Warisan
Metode Publik
public SaverDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
SaverDef.Builder publik clearFilenameTensorName ()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
SaverDef.Builder publik clearKeepCheckpointSetiapNhours ()
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;
SaverDef.Builder publik clearMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
SaverDef.Builder publik clearRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
SaverDef.Builder publik clearSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
SaverDef.Builder publik clearSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
String publik getFilenameTensorName ()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
publik 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;
getKeepCheckpointEveryNhours pelampung publik ()
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;
int publik getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
String publik getRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
com.google.protobuf.ByteString publik getRestoreOpNameBytes ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
String publik getSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
publik com.google.protobuf.ByteString getSaveTensorNameBytes ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
getSharded boolean publik ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
publik SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
int publik getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
boolean akhir publik diinisialisasi ()
SaverDef.Builder mergeFrom publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
SaverDef.Builder mergeUnknownFields akhir publik (com.google.protobuf.UnknownFieldSet unknownFields)
public SaverDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
publik SaverDef.Builder setFilenameTensorName (Nilai string)
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
SaverDef.Builder setFilenameTensorNameBytes publik (nilai 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;
publik SaverDef.Builder setKeepCheckpointEveryNhours (nilai mengambang)
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;
SaverDef.Builder setMaxToKeep publik (nilai int)
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public SaverDef.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
publik SaverDef.Builder setRestoreOpName (Nilai string)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
SaverDef.Builder setRestoreOpNameBytes publik (nilai com.google.protobuf.ByteString)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
publik SaverDef.Builder setSaveTensorName (Nilai string)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
SaverDef.Builder setSaveTensorNameBytes publik (nilai com.google.protobuf.ByteString)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
SaverDef.Builder setSharded publik (nilai boolean)
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
publik SaverDef.Builder setVersion (nilai SaverDef.CheckpointFormatVersion )
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
publik SaverDef.Builder setVersionValue (nilai int)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;