Interface MetaGraphDef.MetaInfoDefOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsFunctionAliases​(java.lang.String key)
      FunctionDef name to aliases mapping.
      Any getAnyInfo()
      A serialized protobuf.
      AnyOrBuilder getAnyInfoOrBuilder()
      A serialized protobuf.
      java.util.Map<java.lang.String,​java.lang.String> getFunctionAliases()
      Deprecated.
      int getFunctionAliasesCount()
      FunctionDef name to aliases mapping.
      java.util.Map<java.lang.String,​java.lang.String> getFunctionAliasesMap()
      FunctionDef name to aliases mapping.
      java.lang.String getFunctionAliasesOrDefault​(java.lang.String key, java.lang.String defaultValue)
      FunctionDef name to aliases mapping.
      java.lang.String getFunctionAliasesOrThrow​(java.lang.String key)
      FunctionDef name to aliases mapping.
      java.lang.String getMetaGraphVersion()
      User specified Version string.
      com.google.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.
      java.lang.String getTags​(int index)
      User supplied tag(s) on the meta_graph and included graph_def.
      com.google.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.
      java.util.List<java.lang.String> getTagsList()
      User supplied tag(s) on the meta_graph and included graph_def.
      java.lang.String getTensorflowGitVersion()
      The __git_version__ string of the tensorflow build used to write this graph.
      com.google.protobuf.ByteString getTensorflowGitVersionBytes()
      The __git_version__ string of the tensorflow build used to write this graph.
      java.lang.String getTensorflowVersion()
      The __version__ string of the tensorflow build used to write this graph.
      com.google.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 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

      • getMetaGraphVersion

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

        com.google.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.google.Any any_info = 3;
        Returns:
        Whether the anyInfo field is set.
      • getAnyInfo

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

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

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

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

        com.google.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

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

        com.google.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

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

        com.google.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.
      • getFunctionAliasesCount

        int getFunctionAliasesCount()
         FunctionDef name to aliases mapping.
         
        map<string, string> function_aliases = 8;
      • containsFunctionAliases

        boolean containsFunctionAliases​(java.lang.String key)
         FunctionDef name to aliases mapping.
         
        map<string, string> function_aliases = 8;
      • getFunctionAliases

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getFunctionAliases()
        Deprecated.
      • getFunctionAliasesMap

        java.util.Map<java.lang.String,​java.lang.String> getFunctionAliasesMap()
         FunctionDef name to aliases mapping.
         
        map<string, string> function_aliases = 8;
      • getFunctionAliasesOrDefault

        java.lang.String getFunctionAliasesOrDefault​(java.lang.String key,
                                                     java.lang.String defaultValue)
         FunctionDef name to aliases mapping.
         
        map<string, string> function_aliases = 8;
      • getFunctionAliasesOrThrow

        java.lang.String getFunctionAliasesOrThrow​(java.lang.String key)
         FunctionDef name to aliases mapping.
         
        map<string, string> function_aliases = 8;