SaverDef.Builder

public static final class SaverDef.Builder

 Protocol buffer representing the configuration of a Saver.
 
tensorflow.SaverDef tipo tensorflow.SaverDef

Métodos Públicos

SaverDef.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
SaverDef
build ()
SaverDef
SaverDef.Builder
limpar ()
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
clone ()
SaverDef
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Fragmento
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.
flutuador
getKeepCheckpointEveryNHours ()
 How often to keep an additional checkpoint.
int
getMaxToKeep ()
 Maximum number of checkpoints to keep.
Fragmento
getRestoreOpName ()
 The operation to run when restoring a model checkpoint.
com.google.protobuf.ByteString
getRestoreOpNameBytes ()
 The operation to run when restoring a model checkpoint.
Fragmento
getSaveTensorName ()
 The operation to run when saving a model checkpoint.
com.google.protobuf.ByteString
getSaveTensorNameBytes ()
 The operation to run when saving a model checkpoint.
boleano
getSharded ()
 Shard the save files, one per device that has Variable nodes.
SaverDef.CheckpointFormatVersion
getVersion ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
int
getVersionValue ()
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
final booleano
SaverDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SaverDef.Builder
mergeFrom (com.google.protobuf.Message other)
final SaverDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
SaverDef.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
SaverDef.Builder
setFilenameTensorName (valor String)
 The name of the tensor in which to specify the filename when saving or
 restoring a model checkpoint.
SaverDef.Builder
setFilenameTensorNameBytes (com.google.protobuf.ByteString value)
 The name of the tensor in which to specify the filename when saving or
 restoring a model checkpoint.
SaverDef.Builder
setKeepCheckpointEveryNHours (valor flutuante)
 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 do objeto)
SaverDef.Builder
setRestoreOpName (valor String)
 The operation to run when restoring a model checkpoint.
SaverDef.Builder
setRestoreOpNameBytes (com.google.protobuf.ByteString value)
 The operation to run when restoring a model checkpoint.
SaverDef.Builder
setSaveTensorName (valor String)
 The operation to run when saving a model checkpoint.
SaverDef.Builder
setSaveTensorNameBytes (com.google.protobuf.ByteString value)
 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 SaverDef.CheckpointFormatVersion )
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;
SaverDef.Builder
setVersionValue (valor int)
.tensorflow.SaverDef.CheckpointFormatVersion version = 7;

Métodos herdados

Métodos Públicos

public SaverDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public SaverDef build ()

public SaverDef buildPartial ()

public SaverDef.Builder clear ()

public SaverDef.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

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 clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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;

public SaverDef.Builder clearVersion ()

.tensorflow.SaverDef.CheckpointFormatVersion version = 7;

clone public SaverDef.Builder ()

public SaverDef getDefaultInstanceForType ()

public static 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;

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;

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 (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public SaverDef.Builder mergeFrom (com.google.protobuf.Message other)

public final SaverDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SaverDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public SaverDef.Builder setFilenameTensorName (String value)

 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 (com.google.protobuf.ByteString value)

 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 flutuante)

 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 do objeto)

public SaverDef.Builder setRestoreOpName (String value)

 The operation to run when restoring a model checkpoint.
 
string restore_op_name = 3;

public SaverDef.Builder setRestoreOpNameBytes (com.google.protobuf.ByteString value)

 The operation to run when restoring a model checkpoint.
 
string restore_op_name = 3;

public SaverDef.Builder setSaveTensorName (String value)

 The operation to run when saving a model checkpoint.
 
string save_tensor_name = 2;

public SaverDef.Builder setSaveTensorNameBytes (com.google.protobuf.ByteString value)

 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 final SaverDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SaverDef.Builder setVersion ( SaverDef.CheckpointFormatVersion value)

.tensorflow.SaverDef.CheckpointFormatVersion version = 7;

public SaverDef.Builder setVersionValue (valor int)

.tensorflow.SaverDef.CheckpointFormatVersion version = 7;