classe finale pubblica SaverDef
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
Classi nidificate
classe | SaverDef.Builder | Protocol buffer representing the configuration of a Saver. | |
enum | SaverDef.CheckpointFormatVersion | A version number that identifies a different on-disk checkpoint format. |
Costanti
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
SaverDef statico | |
RisparmioDef | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
Corda | 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. |
galleggiante | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
int | getMaxToKeep () Maximum number of checkpoints to keep. |
Corda | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Corda | 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 | |
booleano | getSharded () Shard the save files, one per device that has Variable nodes. |
finale com.google.protobuf.UnknownFieldSet | |
SaverDef.CheckpointFormatVersion | getVersione () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
int | codicehash () |
booleano finale | |
SaverDef.Builder statico | |
SaverDef.Builder statico | newBuilder (prototipo SaverDef ) |
SaverDef.Builder | |
SaverDef statico | parseDelimitedFrom (input InputStream) |
SaverDef statico | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statico | parseFrom (dati ByteBuffer) |
SaverDef statico | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
SaverDef statico | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statico | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
SaverDef statico | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statico | parseFrom (dati com.google.protobuf.ByteString) |
SaverDef statico | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef statico | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
SaverDef.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int FILENAME_TENSOR_NAME_FIELD_NUMBER
Valore costante: 1
public static final int KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER
Valore costante: 6
public static final int MAX_TO_KEEP_FIELD_NUMBER
Valore costante: 4
public static final int RESTORE_OP_NAME_FIELD_NUMBER
Valore costante: 3
public static final int SAVE_TENSOR_NAME_FIELD_NUMBER
Valore costante: 2
public static final int SHARDED_FIELD_NUMBER
Valore costante: 5
public static final int VERSION_FIELD_NUMBER
Valore costante: 7
Metodi pubblici
booleano pubblico è uguale a (Oggetto 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;
pubblico getParserForType ()
stringa pubblica getRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
pubblico 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;
pubblico com.google.protobuf.ByteString getSaveTensorNameBytes ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public int getSerializedSize ()
booleano pubblico getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
pubblico finale 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 ()
public final booleano isInitialized ()
public static SaverDef parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico SaverDef (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico SaverDef (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico SaverDef (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico SaverDef (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|