lớp cuối cùng tĩnh công khai SaverDef.Builder
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
Phương pháp công cộng
SaverDef.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
SaverDef | xây dựng () |
SaverDef | |
SaverDef.Builder | thông thoáng () |
SaverDef.Builder | ClearField (trường 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 | ClearVersion () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | dòng vô tính () |
SaverDef | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
Sợi dây | 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. |
trôi nổi | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
int | getMaxToKeep () Maximum number of checkpoints to keep. |
Sợi dây | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Sợi dây | getSaveTensorName () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | getSaveTensorNameBytes () The operation to run when saving a model checkpoint. |
boolean | getSharded () Shard the save files, one per device that has Variable nodes. |
SaverDef.CheckpointFormatVersion | getVersion () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
boolean cuối cùng | |
SaverDef.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
SaverDef.Builder | mergeFrom (com.google.protobuf.Message other) |
SaverDef.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
SaverDef.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
SaverDef.Builder | setFilenameTensorName (Giá trị chuỗi) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | setFilenameTensorNameBytes (giá trị 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 (giá trị float) How often to keep an additional checkpoint. |
SaverDef.Builder | setMaxToKeep (giá trị int) Maximum number of checkpoints to keep. |
SaverDef.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
SaverDef.Builder | setRestoreOpName (Giá trị chuỗi) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setRestoreOpNameBytes (giá trị com.google.protobuf.ByteString) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setSaveTensorName (Giá trị chuỗi) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSaveTensorNameBytes (giá trị com.google.protobuf.ByteString) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSharded (giá trị boolean) Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
SaverDef.Builder | setVersion (giá trị SaverDef.CheckpointFormatVersion ) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | setVersionValue (giá trị int) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Phương pháp kế thừa
Phương pháp công cộng
public SaverDef.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
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;
công khai 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;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
Chuỗi công khai getFilenameTensorName ()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
com.google.protobuf.ByteString getFilenameTensorNameBytes () công khai
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
phao công khai 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;
int công khai getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
Chuỗi công khai getRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
com.google.protobuf.ByteString công khai getRestoreOpNameBytes ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
Chuỗi công khai getSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
com.google.protobuf.ByteString công khai getSaveTensorNameBytes ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
boolean công khai getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
công khai SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
int công khai getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
boolean cuối cùng công khai được khởi tạo ()
công khai SaverDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai SaverDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public SaverDef.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
public SaverDef.Builder setFilenameTensorName (Giá trị chuỗi)
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
công khai SaverDef.Builder setFilenameTensorNameBytes (giá trị 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 (giá trị 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;
công khai SaverDef.Builder setMaxToKeep (giá trị int)
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public SaverDef.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
public SaverDef.Builder setRestoreOpName (Giá trị chuỗi)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
công khai SaverDef.Builder setRestoreOpNameBytes (giá trị com.google.protobuf.ByteString)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setSaveTensorName (Giá trị chuỗi)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
công khai SaverDef.Builder setSaveTensorNameBytes (giá trị com.google.protobuf.ByteString)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSharded (giá trị boolean)
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
trận chung kết công khai SaverDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public SaverDef.Builder setVersion (giá trị SaverDef.CheckpointFormatVersion )
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public SaverDef.Builder setVersionValue (giá trị int)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;