Package org.tensorflow.framework
Interface RunMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunMetadata,RunMetadata.Builder
public interface RunMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description CostGraphDefgetCostGraph()The cost graph for the computation defined by the run call.CostGraphDefOrBuildergetCostGraphOrBuilder()The cost graph for the computation defined by the run call.RunMetadata.FunctionGraphsgetFunctionGraphs(int index)This is only populated for graphs that are run as functions in TensorFlow V2.intgetFunctionGraphsCount()This is only populated for graphs that are run as functions in TensorFlow V2.java.util.List<RunMetadata.FunctionGraphs>getFunctionGraphsList()This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.FunctionGraphsOrBuildergetFunctionGraphsOrBuilder(int index)This is only populated for graphs that are run as functions in TensorFlow V2.java.util.List<? extends RunMetadata.FunctionGraphsOrBuilder>getFunctionGraphsOrBuilderList()This is only populated for graphs that are run as functions in TensorFlow V2.GraphDefgetPartitionGraphs(int index)Graphs of the partitions executed by executors.intgetPartitionGraphsCount()Graphs of the partitions executed by executors.java.util.List<GraphDef>getPartitionGraphsList()Graphs of the partitions executed by executors.GraphDefOrBuildergetPartitionGraphsOrBuilder(int index)Graphs of the partitions executed by executors.java.util.List<? extends GraphDefOrBuilder>getPartitionGraphsOrBuilderList()Graphs of the partitions executed by executors.StepStatsgetStepStats()Statistics traced for this step.StepStatsOrBuildergetStepStatsOrBuilder()Statistics traced for this step.booleanhasCostGraph()The cost graph for the computation defined by the run call.booleanhasStepStats()Statistics traced for this step.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStepStats
boolean hasStepStats()Statistics traced for this step. Populated if tracing is turned on via the "RunOptions" proto. EXPERIMENTAL: The format and set of events may change in future versions.
.tensorflow.StepStats step_stats = 1;- Returns:
- Whether the stepStats field is set.
-
getStepStats
StepStats getStepStats()Statistics traced for this step. Populated if tracing is turned on via the "RunOptions" proto. EXPERIMENTAL: The format and set of events may change in future versions.
.tensorflow.StepStats step_stats = 1;- Returns:
- The stepStats.
-
getStepStatsOrBuilder
StepStatsOrBuilder getStepStatsOrBuilder()Statistics traced for this step. Populated if tracing is turned on via the "RunOptions" proto. EXPERIMENTAL: The format and set of events may change in future versions.
.tensorflow.StepStats step_stats = 1; -
hasCostGraph
boolean hasCostGraph()The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;- Returns:
- Whether the costGraph field is set.
-
getCostGraph
CostGraphDef getCostGraph()The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;- Returns:
- The costGraph.
-
getCostGraphOrBuilder
CostGraphDefOrBuilder getCostGraphOrBuilder()The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2; -
getPartitionGraphsList
java.util.List<GraphDef> getPartitionGraphsList()Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
getPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
getPartitionGraphsCount
int getPartitionGraphsCount()Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
getPartitionGraphsOrBuilderList
java.util.List<? extends GraphDefOrBuilder> getPartitionGraphsOrBuilderList()Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
getPartitionGraphsOrBuilder
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
getFunctionGraphsList
java.util.List<RunMetadata.FunctionGraphs> getFunctionGraphsList()This is only populated for graphs that are run as functions in TensorFlow V2. There will be an entry below for each function that is traced. The main use cases of the post_optimization_graph and the partition_graphs is to give the caller insight into the graphs that were actually run by the runtime. Additional information (such as those in step_stats) will match these graphs. We also include the pre_optimization_graph since it is usually easier to read, and is helpful in situations where the caller wants to get a high level idea of what the built graph looks like (since the various graph optimization passes might change the structure of the graph significantly).
repeated .tensorflow.RunMetadata.FunctionGraphs function_graphs = 4; -
getFunctionGraphs
This is only populated for graphs that are run as functions in TensorFlow V2. There will be an entry below for each function that is traced. The main use cases of the post_optimization_graph and the partition_graphs is to give the caller insight into the graphs that were actually run by the runtime. Additional information (such as those in step_stats) will match these graphs. We also include the pre_optimization_graph since it is usually easier to read, and is helpful in situations where the caller wants to get a high level idea of what the built graph looks like (since the various graph optimization passes might change the structure of the graph significantly).
repeated .tensorflow.RunMetadata.FunctionGraphs function_graphs = 4; -
getFunctionGraphsCount
int getFunctionGraphsCount()This is only populated for graphs that are run as functions in TensorFlow V2. There will be an entry below for each function that is traced. The main use cases of the post_optimization_graph and the partition_graphs is to give the caller insight into the graphs that were actually run by the runtime. Additional information (such as those in step_stats) will match these graphs. We also include the pre_optimization_graph since it is usually easier to read, and is helpful in situations where the caller wants to get a high level idea of what the built graph looks like (since the various graph optimization passes might change the structure of the graph significantly).
repeated .tensorflow.RunMetadata.FunctionGraphs function_graphs = 4; -
getFunctionGraphsOrBuilderList
java.util.List<? extends RunMetadata.FunctionGraphsOrBuilder> getFunctionGraphsOrBuilderList()This is only populated for graphs that are run as functions in TensorFlow V2. There will be an entry below for each function that is traced. The main use cases of the post_optimization_graph and the partition_graphs is to give the caller insight into the graphs that were actually run by the runtime. Additional information (such as those in step_stats) will match these graphs. We also include the pre_optimization_graph since it is usually easier to read, and is helpful in situations where the caller wants to get a high level idea of what the built graph looks like (since the various graph optimization passes might change the structure of the graph significantly).
repeated .tensorflow.RunMetadata.FunctionGraphs function_graphs = 4; -
getFunctionGraphsOrBuilder
This is only populated for graphs that are run as functions in TensorFlow V2. There will be an entry below for each function that is traced. The main use cases of the post_optimization_graph and the partition_graphs is to give the caller insight into the graphs that were actually run by the runtime. Additional information (such as those in step_stats) will match these graphs. We also include the pre_optimization_graph since it is usually easier to read, and is helpful in situations where the caller wants to get a high level idea of what the built graph looks like (since the various graph optimization passes might change the structure of the graph significantly).
repeated .tensorflow.RunMetadata.FunctionGraphs function_graphs = 4;
-