Interface TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.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.
      java.lang.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.
      java.lang.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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        java.lang.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

        java.lang.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

        java.lang.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.
      • getOptionalRestore

        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;
        Returns:
        The optionalRestore.