パブリック静的最終クラスSaverDef.Builder
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
パブリックメソッド
SaverDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
セーバーデフ | 建てる() |
セーバーデフ | buildPartial () |
SaverDef.Builder | クリア() |
SaverDef.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
SaverDef.Builder | クリアファイル名TensorName () 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 | クリアシャード() Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder | クリアバージョン() .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | クローン() |
セーバーデフ | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
弦 | getファイル名TensorName () 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. |
ブール値 | getSharded () Shard the save files, one per device that has Variable nodes. |
SaverDef.CheckpointFormatVersion | getバージョン() .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 other) |
最終的なSaverDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
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 (int 値) 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 (int 値) .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;
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 ()
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;
public int getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public String 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;
public String 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;
public boolean 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;
パブリック最終ブール値isInitialized ()
public SaverDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
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 (int 値)
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;
public SaverDef.Builder setVersion ( SaverDef.CheckpointFormatVersion値)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public SaverDef.Builder setVersionValue (int 値)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;