TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder

public static interface TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder
Known Indirect Subclasses

Public Methods

abstract String
getCheckpointKey()
 The generated name of the Tensor in the checkpoint.
abstract com.google.protobuf.ByteString
getCheckpointKeyBytes()
 The generated name of the Tensor in the checkpoint.
abstract String
getFullName()
 The full name of the variable/tensor, if applicable.
abstract com.google.protobuf.ByteString
getFullNameBytes()
 The full name of the variable/tensor, if applicable.
abstract String
getName()
 A name for the Tensor.
abstract com.google.protobuf.ByteString
getNameBytes()
 A name for the Tensor.
abstract boolean
getOptionalRestore()
 Whether checkpoints should be considered as matching even without this
 value restored.

Public Methods

public abstract String getCheckpointKey ()

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

public abstract com.google.protobuf.ByteString getCheckpointKeyBytes ()

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

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