Interface MetaGraphDef.MetaInfoDefOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.nd4j.shade.protobuf.Any getAnyInfo()
      A serialized protobuf.
      org.nd4j.shade.protobuf.AnyOrBuilder getAnyInfoOrBuilder()
      A serialized protobuf.
      String getMetaGraphVersion()
      User specified Version string.
      org.nd4j.shade.protobuf.ByteString getMetaGraphVersionBytes()
      User specified Version string.
      boolean getStrippedDefaultAttrs()
      A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.
      OpList getStrippedOpList()
      A copy of the OpDefs used by the producer of this graph_def.
      OpListOrBuilder getStrippedOpListOrBuilder()
      A copy of the OpDefs used by the producer of this graph_def.
      String getTags​(int index)
      User supplied tag(s) on the meta_graph and included graph_def.
      org.nd4j.shade.protobuf.ByteString getTagsBytes​(int index)
      User supplied tag(s) on the meta_graph and included graph_def.
      int getTagsCount()
      User supplied tag(s) on the meta_graph and included graph_def.
      List<String> getTagsList()
      User supplied tag(s) on the meta_graph and included graph_def.
      String getTensorflowGitVersion()
      The __git_version__ string of the tensorflow build used to write this graph.
      org.nd4j.shade.protobuf.ByteString getTensorflowGitVersionBytes()
      The __git_version__ string of the tensorflow build used to write this graph.
      String getTensorflowVersion()
      The __version__ string of the tensorflow build used to write this graph.
      org.nd4j.shade.protobuf.ByteString getTensorflowVersionBytes()
      The __version__ string of the tensorflow build used to write this graph.
      boolean hasAnyInfo()
      A serialized protobuf.
      boolean hasStrippedOpList()
      A copy of the OpDefs used by the producer of this graph_def.
      • Methods inherited from interface org.nd4j.shade.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder

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

      • getMetaGraphVersion

        String getMetaGraphVersion()
         User specified Version string. Can be the name of the model and revision,
         steps this model has been trained to, etc.
         
        string meta_graph_version = 1;
        Returns:
        The metaGraphVersion.
      • getMetaGraphVersionBytes

        org.nd4j.shade.protobuf.ByteString getMetaGraphVersionBytes()
         User specified Version string. Can be the name of the model and revision,
         steps this model has been trained to, etc.
         
        string meta_graph_version = 1;
        Returns:
        The bytes for metaGraphVersion.
      • hasStrippedOpList

        boolean hasStrippedOpList()
         A copy of the OpDefs used by the producer of this graph_def.
         Descriptions and Ops not used in graph_def are stripped out.
         
        .tensorflow.OpList stripped_op_list = 2;
        Returns:
        Whether the strippedOpList field is set.
      • getStrippedOpList

        OpList getStrippedOpList()
         A copy of the OpDefs used by the producer of this graph_def.
         Descriptions and Ops not used in graph_def are stripped out.
         
        .tensorflow.OpList stripped_op_list = 2;
        Returns:
        The strippedOpList.
      • getStrippedOpListOrBuilder

        OpListOrBuilder getStrippedOpListOrBuilder()
         A copy of the OpDefs used by the producer of this graph_def.
         Descriptions and Ops not used in graph_def are stripped out.
         
        .tensorflow.OpList stripped_op_list = 2;
      • hasAnyInfo

        boolean hasAnyInfo()
         A serialized protobuf. Can be the time this meta graph is created, or
         modified, or name of the model.
         
        .google.protobuf.Any any_info = 3;
        Returns:
        Whether the anyInfo field is set.
      • getAnyInfo

        org.nd4j.shade.protobuf.Any getAnyInfo()
         A serialized protobuf. Can be the time this meta graph is created, or
         modified, or name of the model.
         
        .google.protobuf.Any any_info = 3;
        Returns:
        The anyInfo.
      • getAnyInfoOrBuilder

        org.nd4j.shade.protobuf.AnyOrBuilder getAnyInfoOrBuilder()
         A serialized protobuf. Can be the time this meta graph is created, or
         modified, or name of the model.
         
        .google.protobuf.Any any_info = 3;
      • getTagsList

        List<String> getTagsList()
         User supplied tag(s) on the meta_graph and included graph_def.
         MetaGraphDefs should be tagged with their capabilities or use-cases.
         Examples: "train", "serve", "gpu", "tpu", etc.
         These tags enable loaders to access the MetaGraph(s) appropriate for a
         specific use-case or runtime environment.
         
        repeated string tags = 4;
        Returns:
        A list containing the tags.
      • getTagsCount

        int getTagsCount()
         User supplied tag(s) on the meta_graph and included graph_def.
         MetaGraphDefs should be tagged with their capabilities or use-cases.
         Examples: "train", "serve", "gpu", "tpu", etc.
         These tags enable loaders to access the MetaGraph(s) appropriate for a
         specific use-case or runtime environment.
         
        repeated string tags = 4;
        Returns:
        The count of tags.
      • getTags

        String getTags​(int index)
         User supplied tag(s) on the meta_graph and included graph_def.
         MetaGraphDefs should be tagged with their capabilities or use-cases.
         Examples: "train", "serve", "gpu", "tpu", etc.
         These tags enable loaders to access the MetaGraph(s) appropriate for a
         specific use-case or runtime environment.
         
        repeated string tags = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • getTagsBytes

        org.nd4j.shade.protobuf.ByteString getTagsBytes​(int index)
         User supplied tag(s) on the meta_graph and included graph_def.
         MetaGraphDefs should be tagged with their capabilities or use-cases.
         Examples: "train", "serve", "gpu", "tpu", etc.
         These tags enable loaders to access the MetaGraph(s) appropriate for a
         specific use-case or runtime environment.
         
        repeated string tags = 4;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • getTensorflowVersion

        String getTensorflowVersion()
         The __version__ string of the tensorflow build used to write this graph.
         This will be populated by the framework, which will overwrite any user
         supplied value.
         
        string tensorflow_version = 5;
        Returns:
        The tensorflowVersion.
      • getTensorflowVersionBytes

        org.nd4j.shade.protobuf.ByteString getTensorflowVersionBytes()
         The __version__ string of the tensorflow build used to write this graph.
         This will be populated by the framework, which will overwrite any user
         supplied value.
         
        string tensorflow_version = 5;
        Returns:
        The bytes for tensorflowVersion.
      • getTensorflowGitVersion

        String getTensorflowGitVersion()
         The __git_version__ string of the tensorflow build used to write this
         graph. This will be populated by the framework, which will overwrite any
         user supplied value.
         
        string tensorflow_git_version = 6;
        Returns:
        The tensorflowGitVersion.
      • getTensorflowGitVersionBytes

        org.nd4j.shade.protobuf.ByteString getTensorflowGitVersionBytes()
         The __git_version__ string of the tensorflow build used to write this
         graph. This will be populated by the framework, which will overwrite any
         user supplied value.
         
        string tensorflow_git_version = 6;
        Returns:
        The bytes for tensorflowGitVersion.
      • getStrippedDefaultAttrs

        boolean getStrippedDefaultAttrs()
         A flag to denote whether default-valued attrs have been stripped from
         the nodes in this graph_def.
         
        bool stripped_default_attrs = 7;
        Returns:
        The strippedDefaultAttrs.