TrackableObjectGraph.TrackableObject.SerializedTensor.Builder

public static final class TrackableObjectGraph.TrackableObject.SerializedTensor.Builder

Protobuf type tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor

Public Methods

TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TrackableObjectGraph.TrackableObject.SerializedTensor
build()
TrackableObjectGraph.TrackableObject.SerializedTensor
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
clear()
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
clearCheckpointKey()
 The generated name of the Tensor in the checkpoint.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
clearFullName()
 The full name of the variable/tensor, if applicable.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
clearName()
 A name for the Tensor.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
clearOptionalRestore()
 Whether checkpoints should be considered as matching even without this
 value restored.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
clone()
String
getCheckpointKey()
 The generated name of the Tensor in the checkpoint.
com.google.protobuf.ByteString
getCheckpointKeyBytes()
 The generated name of the Tensor in the checkpoint.
TrackableObjectGraph.TrackableObject.SerializedTensor
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getFullName()
 The full name of the variable/tensor, if applicable.
com.google.protobuf.ByteString
getFullNameBytes()
 The full name of the variable/tensor, if applicable.
String
getName()
 A name for the Tensor.
com.google.protobuf.ByteString
getNameBytes()
 A name for the Tensor.
boolean
getOptionalRestore()
 Whether checkpoints should be considered as matching even without this
 value restored.
final boolean
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
mergeFrom(com.google.protobuf.Message other)
final TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setCheckpointKey(String value)
 The generated name of the Tensor in the checkpoint.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setCheckpointKeyBytes(com.google.protobuf.ByteString value)
 The generated name of the Tensor in the checkpoint.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setFullName(String value)
 The full name of the variable/tensor, if applicable.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setFullNameBytes(com.google.protobuf.ByteString value)
 The full name of the variable/tensor, if applicable.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setName(String value)
 A name for the Tensor.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setNameBytes(com.google.protobuf.ByteString value)
 A name for the Tensor.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setOptionalRestore(boolean value)
 Whether checkpoints should be considered as matching even without this
 value restored.
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder clearCheckpointKey ()

 The generated name of the Tensor in the checkpoint.
 
string checkpoint_key = 3;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder clearFullName ()

 The full name of the variable/tensor, if applicable. Used to allow
 name-based loading of checkpoints which were saved using an
 object-based API. Should match the checkpoint key which would have been
 assigned by tf.train.Saver.
 
string full_name = 2;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder clearName ()

 A name for the Tensor. Simple variables have only one
 `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may
 be restored on object creation as an optimization.
 
string name = 1;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder clearOptionalRestore ()

 Whether checkpoints should be considered as matching even without this
 value restored. Used for non-critical values which don't affect the
 TensorFlow graph, such as layer configurations.
 
bool optional_restore = 4;

public String getCheckpointKey ()

 The generated name of the Tensor in the checkpoint.
 
string checkpoint_key = 3;

public com.google.protobuf.ByteString getCheckpointKeyBytes ()

 The generated name of the Tensor in the checkpoint.
 
string checkpoint_key = 3;

public TrackableObjectGraph.TrackableObject.SerializedTensor getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getFullName ()

 The full name of the variable/tensor, if applicable. Used to allow
 name-based loading of checkpoints which were saved using an
 object-based API. Should match the checkpoint key which would have been
 assigned by tf.train.Saver.
 
string full_name = 2;

public com.google.protobuf.ByteString getFullNameBytes ()

 The full name of the variable/tensor, if applicable. Used to allow
 name-based loading of checkpoints which were saved using an
 object-based API. Should match the checkpoint key which would have been
 assigned by tf.train.Saver.
 
string full_name = 2;

public String getName ()

 A name for the Tensor. Simple variables have only one
 `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may
 be restored on object creation as an optimization.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 A name for the Tensor. Simple variables have only one
 `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may
 be restored on object creation as an optimization.
 
string name = 1;

public boolean getOptionalRestore ()

 Whether checkpoints should be considered as matching even without this
 value restored. Used for non-critical values which don't affect the
 TensorFlow graph, such as layer configurations.
 
bool optional_restore = 4;

public final boolean isInitialized ()

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder mergeFrom (com.google.protobuf.Message other)

public final TrackableObjectGraph.TrackableObject.SerializedTensor.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setCheckpointKey (String value)

 The generated name of the Tensor in the checkpoint.
 
string checkpoint_key = 3;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setCheckpointKeyBytes (com.google.protobuf.ByteString value)

 The generated name of the Tensor in the checkpoint.
 
string checkpoint_key = 3;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setFullName (String value)

 The full name of the variable/tensor, if applicable. Used to allow
 name-based loading of checkpoints which were saved using an
 object-based API. Should match the checkpoint key which would have been
 assigned by tf.train.Saver.
 
string full_name = 2;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setFullNameBytes (com.google.protobuf.ByteString value)

 The full name of the variable/tensor, if applicable. Used to allow
 name-based loading of checkpoints which were saved using an
 object-based API. Should match the checkpoint key which would have been
 assigned by tf.train.Saver.
 
string full_name = 2;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setName (String value)

 A name for the Tensor. Simple variables have only one
 `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may
 be restored on object creation as an optimization.
 
string name = 1;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setNameBytes (com.google.protobuf.ByteString value)

 A name for the Tensor. Simple variables have only one
 `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may
 be restored on object creation as an optimization.
 
string name = 1;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setOptionalRestore (boolean value)

 Whether checkpoints should be considered as matching even without this
 value restored. Used for non-critical values which don't affect the
 TensorFlow graph, such as layer configurations.
 
bool optional_restore = 4;

public TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final TrackableObjectGraph.TrackableObject.SerializedTensor.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)