SaverDef kelas akhir publik
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
Kelas Bersarang
kelas | SaverDef.Builder | Protocol buffer representing the configuration of a Saver. | |
enum | SaverDef.CheckpointFormatVersion | A version number that identifies a different on-disk checkpoint format. |
Konstanta
ke dalam | FILENAME_TENSOR_NAME_FIELD_NUMBER | |
ke dalam | KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER | |
ke dalam | MAX_TO_KEEP_FIELD_NUMBER | |
ke dalam | RESTORE_OP_NAME_FIELD_NUMBER | |
ke dalam | SAVE_TENSOR_NAME_FIELD_NUMBER | |
ke dalam | SHARDED_FIELD_NUMBER | |
ke dalam | VERSION_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
SaverDef statis | |
SaverDef | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
Rangkaian | dapatkan Nama File Nama Tensor () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
com.google.protobuf.ByteString | dapatkanNamaFileTensorNamaBytes () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
mengambang | dapatkanKeepCheckpointSetiapNhours () How often to keep an additional checkpoint. |
ke dalam | dapatkanMaxToKeep () Maximum number of checkpoints to keep. |
Rangkaian | dapatkanRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | dapatkanRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Rangkaian | dapatkanSimpanTensorName () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | dapatkanSimpanTensorNameBytes () The operation to run when saving a model checkpoint. |
ke dalam | |
boolean | dapatkan Sharded () Shard the save files, one per device that has Variable nodes. |
final com.google.protobuf.UnknownFieldSet | |
SaverDef.CheckpointFormatVersion | dapatkanVersi () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
ke dalam | dapatkanVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
ke dalam | Kode hash () |
boolean terakhir | |
SaverDef.Builder statis | |
SaverDef.Builder statis | newBuilder (prototipe SaverDef ) |
SaverDef.Builder | |
SaverDef statis | parseDelimitedFrom (masukan Aliran Masukan) |
SaverDef statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statis | parseFrom (data ByteBuffer) |
SaverDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
SaverDef statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statis | parseFrom (com.google.protobuf.ByteString data) |
SaverDef statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
SaverDef.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik FILENAME_TENSOR_NAME_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik MAX_TO_KEEP_FIELD_NUMBER
Nilai Konstan: 4
int final statis publik RESTORE_OP_NAME_FIELD_NUMBER
Nilai Konstan: 3
int akhir statis publik SAVE_TENSOR_NAME_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik SHARDED_FIELD_NUMBER
Nilai Konstan: 5
int akhir statis publik VERSION_FIELD_NUMBER
Nilai Konstan: 7
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
String publik getFilenameTensorName ()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
publik 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;
getKeepCheckpointEveryNhours pelampung publik ()
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 publik getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
publik dapatkanParserForType ()
String publik getRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
com.google.protobuf.ByteString publik getRestoreOpNameBytes ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
String publik getSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
publik com.google.protobuf.ByteString getSaveTensorNameBytes ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
publik int getSerializedSize ()
getSharded boolean publik ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
publik SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
int publik getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom SaverDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom SaverDef statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom SaverDef statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom SaverDef statis publik (com.google.protobuf.CodedInputStream masukan)
Melempar
Pengecualian IO |
---|
parseFrom SaverDef statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom SaverDef statis publik (com.google.protobuf.ByteString data)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom SaverDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom SaverDef statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|