clase final estática pública SaverDef.Builder
Protocol buffer representing the configuration of a Saver.
tensorflow.SaverDef
Métodos públicos
SaverDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
AhorradorDef | construir () |
AhorradorDef | |
SaverDef.Builder | claro () |
SaverDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
SaverDef.Builder | borrar nombre de archivo nombre tensor () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | borrarKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
SaverDef.Builder | borrarMaxToKeep () Maximum number of checkpoints to keep. |
SaverDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
SaverDef.Builder | borrarRestoreOpName () The operation to run when restoring a model checkpoint. |
SaverDef.Builder | borrarGuardarNombreTensor () The operation to run when saving a model checkpoint. |
SaverDef.Builder | borrar fragmentado () Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder | versión clara () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | clonar () |
AhorradorDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Cadena | 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. |
flotar | getKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
entero | obtenerMaxToKeep () Maximum number of checkpoints to keep. |
Cadena | getRestoreOpName () The operation to run when restoring a model checkpoint. |
com.google.protobuf.ByteString | getRestoreOpNameBytes () The operation to run when restoring a model checkpoint. |
Cadena | getGuardarNombreTensor () The operation to run when saving a model checkpoint. |
com.google.protobuf.ByteString | getSaveTensorNameBytes () The operation to run when saving a model checkpoint. |
booleano | obtener fragmentado () Shard the save files, one per device that has Variable nodes. |
SaverDef.CheckpointFormatVersion | obtener versión () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
entero | obtenerValorVersión () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
booleano final | |
SaverDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
SaverDef.Builder | mergeFrom (com.google.protobuf.Message otro) |
SaverDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
SaverDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
SaverDef.Builder | setFilenameTensorName (valor de cadena) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | setFilenameTensorNameBytes (valor com.google.protobuf.ByteString) The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | setKeepCheckpointEveryNHours (valor flotante) How often to keep an additional checkpoint. |
SaverDef.Builder | setMaxToKeep (valor int) Maximum number of checkpoints to keep. |
SaverDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
SaverDef.Builder | setRestoreOpName (valor de cadena) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setRestoreOpNameBytes (valor com.google.protobuf.ByteString) The operation to run when restoring a model checkpoint. |
SaverDef.Builder | setSaveTensorName (valor de cadena) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSaveTensorNameBytes (valor com.google.protobuf.ByteString) The operation to run when saving a model checkpoint. |
SaverDef.Builder | setSharded (valor booleano) Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
SaverDef.Builder | setVersion (valor SaverDef.CheckpointFormatVersion ) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | setVersionValue (valor int) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Métodos heredados
Métodos públicos
público SaverDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public SaverDef.Builder clearFilenameTensorName ()
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
público SaverDef.Builder clearKeepCheckpointEveryNHours ()
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;
público SaverDef.Builder clearMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
público SaverDef.Builder clearRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
público SaverDef.Builder clearSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
público SaverDef.Builder clearSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
Cadena pública 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;
público int getMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
cadena pública getRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
público com.google.protobuf.ByteString getRestoreOpNameBytes ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
Cadena pública getSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
público com.google.protobuf.ByteString getSaveTensorNameBytes ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
getSharded booleano público ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
público SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
público int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
público final booleano isInitialized ()
mergeFrom público SaverDef.Builder (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
IOExcepción |
---|
SaverDef.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público SaverDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público SaverDef.Builder setFilenameTensorName (valor de cadena)
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
público SaverDef.Builder setFilenameTensorNameBytes (valor com.google.protobuf.ByteString)
The name of the tensor in which to specify the filename when saving or restoring a model checkpoint.
string filename_tensor_name = 1;
público SaverDef.Builder setKeepCheckpointEveryNHours (valor flotante)
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;
público SaverDef.Builder setMaxToKeep (valor int)
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
público SaverDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
público SaverDef.Builder setRestoreOpName (valor de cadena)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
público SaverDef.Builder setRestoreOpNameBytes (valor com.google.protobuf.ByteString)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
público SaverDef.Builder setSaveTensorName (valor de cadena)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
público SaverDef.Builder setSaveTensorNameBytes (valor com.google.protobuf.ByteString)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
público SaverDef.Builder setSharded (valor booleano)
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
público final SaverDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público SaverDef.Builder setVersion (valor SaverDef.CheckpointFormatVersion )
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
público SaverDef.Builder setVersionValue (valor int)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;