genel final sınıfı SaverDef
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
İç İçe Sınıflar
sınıf | SaverDef.Builder | Protocol buffer representing the configuration of a Saver. | |
numaralandırma | SaverDef.CheckpointFormatVersion | A version number that identifies a different on-disk checkpoint format. |
Sabitler
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
Statik SaverDef | |
SaverDef | |
final statik com.google.protobuf.Descriptors.Descriptor | |
Sicim | 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. |
batmadan yüzmek | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
int | getMaxToKeep () Maximum number of checkpoints to keep. |
Sicim | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Sicim | getSaveTensorName () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | getSaveTensorNameBytes () The operation to run when saving a model checkpoint. |
int | |
boolean | getSharded () Shard the save files, one per device that has Variable nodes. |
final com.google.protobuf.UnknownFieldSet | |
SaverDef.CheckpointFormatVersion | getVersion () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | hashKodu () |
son boole değeri | Başlatıldı () |
statik SaverDef.Builder | yeniİnşaatçı () |
statik SaverDef.Builder | newBuilder ( SaverDef prototipi) |
SaverDef.Builder | |
Statik SaverDef | parseDelimitedFrom (InputStream girişi) |
Statik SaverDef | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik SaverDef | parseFrom (ByteBuffer verileri) |
Statik SaverDef | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik SaverDef | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik SaverDef | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
Statik SaverDef | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik SaverDef | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
Statik SaverDef | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik SaverDef | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
SaverDef.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int FILENAME_TENSOR_NAME_FIELD_NUMBER
Sabit Değer: 1
genel statik final int KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER
Sabit Değer: 6
genel statik final int MAX_TO_KEEP_FIELD_NUMBER
Sabit Değer: 4
genel statik final int RESTORE_OP_NAME_FIELD_NUMBER
Sabit Değer: 3
genel statik final int SAVE_TENSOR_NAME_FIELD_NUMBER
Sabit Değer: 2
genel statik final int SHARDED_FIELD_NUMBER
Sabit Değer: 5
genel statik final int VERSION_FIELD_NUMBER
Sabit Değer: 7
Genel Yöntemler
genel boole eşittir (Object 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;
halka açık kayan nokta 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;
genel int getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
halk 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 ()
herkese açık boolean getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
genel int hashCode ()
genel final boolean isInitialized ()
public static SaverDef parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik SaverDef ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik SaverDef ayrıştırmaFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik SaverDef ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi)
Atar
IO İstisnası |
---|
genel statik SaverDef ayrıştırmaFrom (bayt[] veri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik SaverDef ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
public static SaverDef parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik SaverDef ayrıştırmaFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IO İstisnası |
---|