clase final estática pública SaverDef.Builder
Protocol buffer representing the configuration of a Saver.Tipo de
tensorflow.SaverDef
Métodos públicos
SaverDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
SaverDef | construir () |
SaverDef | buildPartial () |
SaverDef.Builder | claro () |
SaverDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
SaverDef.Builder | clearFilenameTensorName () The name of the tensor in which to specify the filename when saving or restoring a model checkpoint. |
SaverDef.Builder | clearKeepCheckpointEveryNHours () How often to keep an additional checkpoint. |
SaverDef.Builder | clearMaxToKeep () Maximum number of checkpoints to keep. |
SaverDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SaverDef.Builder | clearRestoreOpName () The operation to run when restoring a model checkpoint. |
SaverDef.Builder | clearSaveTensorName () The operation to run when saving a model checkpoint. |
SaverDef.Builder | clearSharded () Shard the save files, one per device that has Variable nodes. |
SaverDef.Builder | clearVersion () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | clonar () |
SaverDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
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. |
booleano | getSharded () Shard the save files, one per device that has Variable nodes. |
SaverDef.CheckpointFormatVersion | getVersion () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
En t | getVersionValue () .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
booleano final | |
SaverDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SaverDef.Builder | mergeFrom (com.google.protobuf.Message otro) |
final SaverDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
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 de 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 de 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 de 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. |
final SaverDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
SaverDef.Builder | setVersion (valor de SaverDef.CheckpointFormatVersion ) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
SaverDef.Builder | setVersionValue (valor int) .tensorflow.SaverDef.CheckpointFormatVersion version = 7; |
Métodos heredados
Métodos públicos
public 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;
public 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;
public SaverDef.Builder clearMaxToKeep ()
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public SaverDef.Builder clearRestoreOpName ()
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder clearSaveTensorName ()
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public 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 ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
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 boolean getSharded ()
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public SaverDef.CheckpointFormatVersion getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public int getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public final boolean isInitialized ()
public SaverDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public final SaverDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SaverDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public 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;
public SaverDef.Builder setFilenameTensorNameBytes (valor de 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;
public 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;
public SaverDef.Builder setMaxToKeep (valor int)
Maximum number of checkpoints to keep. If 0, no checkpoints are deleted.
int32 max_to_keep = 4;
public SaverDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
public SaverDef.Builder setRestoreOpName (valor de cadena)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setRestoreOpNameBytes (valor de com.google.protobuf.ByteString)
The operation to run when restoring a model checkpoint.
string restore_op_name = 3;
public SaverDef.Builder setSaveTensorName (valor de cadena)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSaveTensorNameBytes (valor de com.google.protobuf.ByteString)
The operation to run when saving a model checkpoint.
string save_tensor_name = 2;
public SaverDef.Builder setSharded (valor booleano)
Shard the save files, one per device that has Variable nodes.
bool sharded = 5;
public SaverDef.Builder setVersion (valor de SaverDef.CheckpointFormatVersion )
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
public SaverDef.Builder setVersionValue (valor int)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;