TrackableObjectGraph.TrackableObject.SerializedTensor

Stay organized with collections Save and categorize content based on your preferences.
public static final class TrackableObjectGraph.TrackableObject.SerializedTensor

Protobuf type tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor

Nested Classes

class TrackableObjectGraph.TrackableObject.SerializedTensor.Builder Protobuf type tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor  

Constants

int CHECKPOINT_KEY_FIELD_NUMBER
int FULL_NAME_FIELD_NUMBER
int NAME_FIELD_NUMBER
int OPTIONAL_RESTORE_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
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.
static TrackableObjectGraph.TrackableObject.SerializedTensor
TrackableObjectGraph.TrackableObject.SerializedTensor
final static 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.
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
static TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseDelimitedFrom(InputStream input)
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseFrom(ByteBuffer data)
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseFrom(com.google.protobuf.CodedInputStream input)
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseFrom(com.google.protobuf.ByteString data)
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TrackableObjectGraph.TrackableObject.SerializedTensor
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int CHECKPOINT_KEY_FIELD_NUMBER

Constant Value: 3

public static final int FULL_NAME_FIELD_NUMBER

Constant Value: 2

public static final int NAME_FIELD_NUMBER

Constant Value: 1

public static final int OPTIONAL_RESTORE_FIELD_NUMBER

Constant Value: 4

Public Methods

public boolean equals (Object obj)

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 static TrackableObjectGraph.TrackableObject.SerializedTensor getDefaultInstance ()

public TrackableObjectGraph.TrackableObject.SerializedTensor getDefaultInstanceForType ()

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

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 getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()