публичный статический конечный класс SaverDef.Builder
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
Публичные методы
SaverDef.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
SaverDef | строить () |
SaverDef | |
SaverDef.Builder | прозрачный () |
SaverDef.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
SaverDef.Builder | очиститьИмяФайлаИмяТензора () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | очиститьKeepCheckpointEveryNHours () 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 | очиститьSaveTensorName () The operation to run when saving a model checkpoint. |
SaverDef.Builder | ОчиститьШардед () Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder | прозрачная версия () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | клон () |
SaverDef | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Нить | 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. |
плавать | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
интервал | getMaxToKeep () Maximum number of checkpoints to keep. |
Нить | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Нить | getSaveTensorName () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | getSaveTensorNameBytes () The operation to run when saving a model checkpoint. |
логическое значение | получитьОсколок () Shard the save files, one per device that has Variable nodes. |
SaverDef.CheckpointFormatVersion | получить версию () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
интервал | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
последнее логическое значение | |
SaverDef.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
SaverDef.Builder | mergeFrom (com.google.protobuf.Message другое) |
окончательный SaverDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
SaverDef.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
SaverDef.Builder | setFilenameTensorName (строковое значение) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | setFilenameTensorNameBytes (значение 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 (плавающее значение) How often to keep an additional checkpoint. |
SaverDef.Builder | setMaxToKeep (целое значение) Maximum number of checkpoints to keep. |
SaverDef.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
SaverDef.Builder | setRestoreOpName (строковое значение) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setRestoreOpNameBytes (значение com.google.protobuf.ByteString) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setSaveTensorName (строковое значение) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSaveTensorNameBytes (значение com.google.protobuf.ByteString) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSharded (логическое значение) Shard the save files, one per device that has Variable nodes. |
окончательный SaverDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
SaverDef.Builder | setVersion (значение SaverDef.CheckpointFormatVersion ) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | setVersionValue (целое значение) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Унаследованные методы
Публичные методы
public SaverDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
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;
общедоступный SaverDef.Builder ClearMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
общедоступный 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;
общедоступный SaverDef.Builder ClearSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
общедоступный SaverDef.Builder ClearVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
публичная строка 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;
публичная строка 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;
публичная строка 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;
общедоступное логическое значение getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
общедоступный SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
публичное окончательное логическое значение isInitialized ()
общедоступный SaverDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный финальный SaverDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public SaverDef.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public SaverDef.Builder setFilenameTensorName (строковое значение)
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 (значение 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 (плавающее значение)
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 (целое значение)
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public SaverDef.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
public SaverDef.Builder setRestoreOpName (строковое значение)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setRestoreOpNameBytes (значение com.google.protobuf.ByteString)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setSaveTensorName (строковое значение)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSaveTensorNameBytes (значение com.google.protobuf.ByteString)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSharded (логическое значение)
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
публичный окончательный SaverDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public SaverDef.Builder setVersion (значение SaverDef.CheckpointFormatVersion )
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public SaverDef.Builder setVersionValue (целое значение)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;