Package tensorflow
Interface TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SerializedTensor,TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SerializedTensor.Builder
- Enclosing class:
TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject
public static interface TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe generated name of the Tensor in the checkpoint.com.google.protobuf.ByteStringThe generated name of the Tensor in the checkpoint.The full name of the variable/tensor, if applicable.com.google.protobuf.ByteStringThe full name of the variable/tensor, if applicable.getName()A name for the Tensor.com.google.protobuf.ByteStringA name for the Tensor.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
getFullName
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;- Returns:
- The fullName.
-
getFullNameBytes
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;- Returns:
- The bytes for fullName.
-
getCheckpointKey
String getCheckpointKey()The generated name of the Tensor in the checkpoint.
string checkpoint_key = 3;- Returns:
- The checkpointKey.
-
getCheckpointKeyBytes
com.google.protobuf.ByteString getCheckpointKeyBytes()The generated name of the Tensor in the checkpoint.
string checkpoint_key = 3;- Returns:
- The bytes for checkpointKey.
-