Interface MetaGraphDef.MetaInfoDefOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MetaGraphDef.MetaInfoDef, MetaGraphDef.MetaInfoDef.Builder
Enclosing class:
MetaGraphDef

public static interface MetaGraphDef.MetaInfoDefOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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

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

      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

      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

      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

      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

      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(String key)
       FunctionDef name to aliases mapping.
       
      map<string, string> function_aliases = 8;
    • getFunctionAliases

      @Deprecated Map<String,String> getFunctionAliases()
      Deprecated.
    • getFunctionAliasesMap

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

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

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