SaverDef de clase final pública
Protocol buffer representing the configuration of a Saver.Tipo de
tensorflow.SaverDef
Clases anidadas
clase | SaverDef.Builder | Protocol buffer representing the configuration of a Saver. | |
enumeración | SaverDef.CheckpointFormatVersion | A version number that identifies a different on-disk checkpoint format. |
Constantes
Métodos públicos
booleano | es igual a (Objeto obj) |
estática SaverDef | |
SaverDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
Cuerda | 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. |
flotador | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
En t | getMaxToKeep () Maximum number of checkpoints to keep. |
Cuerda | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Cuerda | getSaveTensorName () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | getSaveTensorNameBytes () The operation to run when saving a model checkpoint. |
En t | |
booleano | 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; |
En t | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
En t | hashCode () |
booleano final | |
estático SaverDef.Builder | newBuilder () |
estático SaverDef.Builder | newBuilder (prototipo SaverDef ) |
SaverDef.Builder | |
estática SaverDef | parseDelimitedFrom (entrada InputStream) |
estática SaverDef | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estática SaverDef | parseFrom (datos ByteBuffer) |
estática SaverDef | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estática SaverDef | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estática SaverDef | parseFrom (entrada com.google.protobuf.CodedInputStream) |
estática SaverDef | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estática SaverDef | parseFrom (datos com.google.protobuf.ByteString) |
estática SaverDef | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estática SaverDef | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
SaverDef.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int FILENAME_TENSOR_NAME_FIELD_NUMBER
Valor constante: 1
public static final int KEEP_CHECKPOINT_EVERY_N_HOURS_FIELD_NUMBER
Valor constante: 6
público estático final int MAX_TO_KEEP_FIELD_NUMBER
Valor constante: 4
public static final int RESTORE_OP_NAME_FIELD_NUMBER
Valor constante: 3
public static final int SAVE_TENSOR_NAME_FIELD_NUMBER
Valor constante: 2
public static final int SHARDED_FIELD_NUMBER
Valor constante: 5
public static final int VERSION_FIELD_NUMBER
Valor constante: 7
Métodos públicos
public boolean es igual a (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;
flotador público 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;
público 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 ()
public final boolean isInitialized ()
public static SaverDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static SaverDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static SaverDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (com.google.protobuf.ByteString data)
Lanza
InvalidProtocolBufferException |
---|
public static SaverDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static SaverDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|