パブリック最終クラスSaverDef
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
ネストされたクラス
クラス | SaverDef.Builder | Protocol buffer representing the configuration of a Saver. | |
列挙型 | SaverDef.CheckpointFormatVersion | A version number that identifies a different on-disk checkpoint format. |
定数
パブリックメソッド
ブール値 | 等しい(オブジェクトオブジェクト) |
静的SaverDef | |
セーバーデフ | |
最終的な静的 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. |
最終的な com.google.protobuf.UnknownFieldSet | |
SaverDef.CheckpointFormatVersion | getバージョン() .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
整数 | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
整数 | ハッシュコード() |
最終ブール値 | |
静的SaverDef.Builder | newBuilder () |
静的SaverDef.Builder | newBuilder ( SaverDefプロトタイプ) |
SaverDef.Builder | |
静的SaverDef | parseDelimitedFrom (InputStream 入力) |
静的SaverDef | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的SaverDef | parseFrom (ByteBuffer データ) |
静的SaverDef | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的SaverDef | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的SaverDef | parseFrom (com.google.protobuf.CodedInputStream 入力) |
静的SaverDef | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的SaverDef | parseFrom (com.google.protobuf.ByteString データ) |
静的SaverDef | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的SaverDef | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的 | パーサー() |
SaverDef.Builder | toビルダー() |
空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数FILENAME_TENSOR_NAME_FIELD_NUMBER
定数値: 1
パブリック静的最終整数KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER
定数値: 6
パブリック静的最終整数MAX_TO_KEEP_FIELD_NUMBER
定数値: 4
パブリック静的最終整数RESTORE_OP_NAME_FIELD_NUMBER
定数値: 3
public static Final int SAVE_TENSOR_NAME_FIELD_NUMBER
定数値: 2
パブリック静的最終整数SHARDED_FIELD_NUMBER
定数値: 5
パブリック静的最終整数VERSION_FIELD_NUMBER
定数値: 7
パブリックメソッド
public booleanに等しい(オブジェクト obj)
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;
公共 getParserForType ()
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 int getSerializedSize ()
public boolean getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static SaverDef parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static SaverDef parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static SaverDef parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static SaverDef parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static SaverDef parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static SaverDef parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|