Interface OptimizedFunctionGraphOuterClass.OptimizedFunctionGraphOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
OptimizedFunctionGraphOuterClass.OptimizedFunctionGraph, OptimizedFunctionGraphOuterClass.OptimizedFunctionGraph.Builder
Enclosing class:
OptimizedFunctionGraphOuterClass

public static interface OptimizedFunctionGraphOuterClass.OptimizedFunctionGraphOrBuilder extends MessageOrBuilder
  • Method Details

    • getName

      String getName()
      Function name. It can be a human-readable SignatureDef's method name, or a
      FunctionDef name.
      
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      ByteString getNameBytes()
      Function name. It can be a human-readable SignatureDef's method name, or a
      FunctionDef name.
      
      string name = 1;
      Returns:
      The bytes for name.
    • hasFunctionGraph

      boolean hasFunctionGraph()
      Optimized function graph.
      
      .tensorflow.GraphDef function_graph = 2;
      Returns:
      Whether the functionGraph field is set.
    • getFunctionGraph

      GraphDef getFunctionGraph()
      Optimized function graph.
      
      .tensorflow.GraphDef function_graph = 2;
      Returns:
      The functionGraph.
    • getFunctionGraphOrBuilder

      GraphDefOrBuilder getFunctionGraphOrBuilder()
      Optimized function graph.
      
      .tensorflow.GraphDef function_graph = 2;
    • getNodeNameToControlRetCount

      int getNodeNameToControlRetCount()
      Maps from node name to control ret. This is an output from running TF/XLA
      bridge.
      
      map<string, string> node_name_to_control_ret = 3;
    • containsNodeNameToControlRet

      boolean containsNodeNameToControlRet(String key)
      Maps from node name to control ret. This is an output from running TF/XLA
      bridge.
      
      map<string, string> node_name_to_control_ret = 3;
    • getNodeNameToControlRet

      @Deprecated Map<String,String> getNodeNameToControlRet()
      Deprecated.
    • getNodeNameToControlRetMap

      Map<String,String> getNodeNameToControlRetMap()
      Maps from node name to control ret. This is an output from running TF/XLA
      bridge.
      
      map<string, string> node_name_to_control_ret = 3;
    • getNodeNameToControlRetOrDefault

      String getNodeNameToControlRetOrDefault(String key, String defaultValue)
      Maps from node name to control ret. This is an output from running TF/XLA
      bridge.
      
      map<string, string> node_name_to_control_ret = 3;
    • getNodeNameToControlRetOrThrow

      String getNodeNameToControlRetOrThrow(String key)
      Maps from node name to control ret. This is an output from running TF/XLA
      bridge.
      
      map<string, string> node_name_to_control_ret = 3;
    • getRetTypesList

      List<DataType> getRetTypesList()
      Return node types of the function. This is an output of graph
      preprocessing.
      
      repeated .tensorflow.DataType ret_types = 4;
      Returns:
      A list containing the retTypes.
    • getRetTypesCount

      int getRetTypesCount()
      Return node types of the function. This is an output of graph
      preprocessing.
      
      repeated .tensorflow.DataType ret_types = 4;
      Returns:
      The count of retTypes.
    • getRetTypes

      DataType getRetTypes(int index)
      Return node types of the function. This is an output of graph
      preprocessing.
      
      repeated .tensorflow.DataType ret_types = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The retTypes at the given index.
    • getRetTypesValueList

      List<Integer> getRetTypesValueList()
      Return node types of the function. This is an output of graph
      preprocessing.
      
      repeated .tensorflow.DataType ret_types = 4;
      Returns:
      A list containing the enum numeric values on the wire for retTypes.
    • getRetTypesValue

      int getRetTypesValue(int index)
      Return node types of the function. This is an output of graph
      preprocessing.
      
      repeated .tensorflow.DataType ret_types = 4;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of retTypes at the given index.
    • getNumReturnNodes

      int getNumReturnNodes()
      Number of return nodes. This is an output of graph preprocessing.
      
      uint32 num_return_nodes = 5;
      Returns:
      The numReturnNodes.
    • hasSource

      boolean hasSource()
      Indicates the source environment where this proto is generated.
      
      optional .tensorflow.OptimizedFunctionGraph.OptimizationSource source = 7;
      Returns:
      Whether the source field is set.
    • getSourceValue

      int getSourceValue()
      Indicates the source environment where this proto is generated.
      
      optional .tensorflow.OptimizedFunctionGraph.OptimizationSource source = 7;
      Returns:
      The enum numeric value on the wire for source.
    • getSource

      Indicates the source environment where this proto is generated.
      
      optional .tensorflow.OptimizedFunctionGraph.OptimizationSource source = 7;
      Returns:
      The source.
    • hasOptimizationTimeUsecs

      boolean hasOptimizationTimeUsecs()
      Time (in microseconds) spent on running the graph optimization passes for
      this function.
      
      optional uint64 optimization_time_usecs = 8;
      Returns:
      Whether the optimizationTimeUsecs field is set.
    • getOptimizationTimeUsecs

      long getOptimizationTimeUsecs()
      Time (in microseconds) spent on running the graph optimization passes for
      this function.
      
      optional uint64 optimization_time_usecs = 8;
      Returns:
      The optimizationTimeUsecs.