Class RunMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RunMetadata.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
org.tensorflow.proto.RunMetadata.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, RunMetadataOrBuilder
- Enclosing class:
RunMetadata
public static final class RunMetadata.Builder
extends GeneratedMessageV3.Builder<RunMetadata.Builder>
implements RunMetadataOrBuilder
Metadata output (i.e., non-Tensor) for a single Run() call.Protobuf type
tensorflow.RunMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllFunctionGraphs(Iterable<? extends RunMetadata.FunctionGraphs> values) This is only populated for graphs that are run as functions in TensorFlow V2.addAllPartitionGraphs(Iterable<? extends GraphDef> values) Graphs of the partitions executed by executors.addFunctionGraphs(int index, RunMetadata.FunctionGraphs value) This is only populated for graphs that are run as functions in TensorFlow V2.addFunctionGraphs(int index, RunMetadata.FunctionGraphs.Builder builderForValue) This is only populated for graphs that are run as functions in TensorFlow V2.This is only populated for graphs that are run as functions in TensorFlow V2.addFunctionGraphs(RunMetadata.FunctionGraphs.Builder builderForValue) This is only populated for graphs that are run as functions in TensorFlow V2.This is only populated for graphs that are run as functions in TensorFlow V2.addFunctionGraphsBuilder(int index) This is only populated for graphs that are run as functions in TensorFlow V2.addPartitionGraphs(int index, GraphDef value) Graphs of the partitions executed by executors.addPartitionGraphs(int index, GraphDef.Builder builderForValue) Graphs of the partitions executed by executors.addPartitionGraphs(GraphDef value) Graphs of the partitions executed by executors.addPartitionGraphs(GraphDef.Builder builderForValue) Graphs of the partitions executed by executors.Graphs of the partitions executed by executors.addPartitionGraphsBuilder(int index) Graphs of the partitions executed by executors.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()The cost graph for the computation defined by the run call.This is only populated for graphs that are run as functions in TensorFlow V2.Graphs of the partitions executed by executors.Metadata about the session.Statistics traced for this step.clone()The cost graph for the computation defined by the run call.The cost graph for the computation defined by the run call.The cost graph for the computation defined by the run call.static final Descriptors.DescriptorgetFunctionGraphs(int index) This is only populated for graphs that are run as functions in TensorFlow V2.getFunctionGraphsBuilder(int index) This is only populated for graphs that are run as functions in TensorFlow V2.This is only populated for graphs that are run as functions in TensorFlow V2.intThis is only populated for graphs that are run as functions in TensorFlow V2.This is only populated for graphs that are run as functions in TensorFlow V2.getFunctionGraphsOrBuilder(int index) This is only populated for graphs that are run as functions in TensorFlow V2.List<? extends RunMetadata.FunctionGraphsOrBuilder> This is only populated for graphs that are run as functions in TensorFlow V2.getPartitionGraphs(int index) Graphs of the partitions executed by executors.getPartitionGraphsBuilder(int index) Graphs of the partitions executed by executors.Graphs of the partitions executed by executors.intGraphs of the partitions executed by executors.Graphs of the partitions executed by executors.getPartitionGraphsOrBuilder(int index) Graphs of the partitions executed by executors.List<? extends GraphDefOrBuilder> Graphs of the partitions executed by executors.Metadata about the session.Metadata about the session.Metadata about the session.Statistics traced for this step.Statistics traced for this step.Statistics traced for this step.booleanThe cost graph for the computation defined by the run call.booleanMetadata about the session.booleanStatistics traced for this step.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCostGraph(CostGraphDef value) The cost graph for the computation defined by the run call.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(RunMetadata other) Metadata about the session.mergeStepStats(StepStats value) Statistics traced for this step.final RunMetadata.BuildermergeUnknownFields(UnknownFieldSet unknownFields) removeFunctionGraphs(int index) This is only populated for graphs that are run as functions in TensorFlow V2.removePartitionGraphs(int index) Graphs of the partitions executed by executors.setCostGraph(CostGraphDef value) The cost graph for the computation defined by the run call.setCostGraph(CostGraphDef.Builder builderForValue) The cost graph for the computation defined by the run call.setField(Descriptors.FieldDescriptor field, Object value) setFunctionGraphs(int index, RunMetadata.FunctionGraphs value) This is only populated for graphs that are run as functions in TensorFlow V2.setFunctionGraphs(int index, RunMetadata.FunctionGraphs.Builder builderForValue) This is only populated for graphs that are run as functions in TensorFlow V2.setPartitionGraphs(int index, GraphDef value) Graphs of the partitions executed by executors.setPartitionGraphs(int index, GraphDef.Builder builderForValue) Graphs of the partitions executed by executors.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) Metadata about the session.setSessionMetadata(SessionMetadata.Builder builderForValue) Metadata about the session.setStepStats(StepStats value) Statistics traced for this step.setStepStats(StepStats.Builder builderForValue) Statistics traced for this step.final RunMetadata.BuildersetUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
setRepeatedField
public RunMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<RunMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeFrom
public RunMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<RunMetadata.Builder>- Throws:
IOException
-
hasStepStats
public 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;- Specified by:
hasStepStatsin interfaceRunMetadataOrBuilder- Returns:
- Whether the stepStats field is set.
-
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;- Specified by:
getStepStatsin interfaceRunMetadataOrBuilder- Returns:
- The stepStats.
-
setStepStats
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; -
setStepStats
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; -
mergeStepStats
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; -
clearStepStats
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; -
getStepStatsBuilder
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; -
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;- Specified by:
getStepStatsOrBuilderin interfaceRunMetadataOrBuilder
-
hasCostGraph
public boolean hasCostGraph()The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;- Specified by:
hasCostGraphin interfaceRunMetadataOrBuilder- Returns:
- Whether the costGraph field is set.
-
getCostGraph
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;- Specified by:
getCostGraphin interfaceRunMetadataOrBuilder- Returns:
- The costGraph.
-
setCostGraph
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2; -
setCostGraph
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2; -
mergeCostGraph
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2; -
clearCostGraph
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2; -
getCostGraphBuilder
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2; -
getCostGraphOrBuilder
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;- Specified by:
getCostGraphOrBuilderin interfaceRunMetadataOrBuilder
-
getPartitionGraphsList
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;- Specified by:
getPartitionGraphsListin interfaceRunMetadataOrBuilder
-
getPartitionGraphsCount
public int getPartitionGraphsCount()Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;- Specified by:
getPartitionGraphsCountin interfaceRunMetadataOrBuilder
-
getPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;- Specified by:
getPartitionGraphsin interfaceRunMetadataOrBuilder
-
setPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
setPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
addPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
addPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
addPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
addPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
addAllPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
clearPartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
removePartitionGraphs
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
getPartitionGraphsBuilder
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;- Specified by:
getPartitionGraphsOrBuilderin interfaceRunMetadataOrBuilder
-
getPartitionGraphsOrBuilderList
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;- Specified by:
getPartitionGraphsOrBuilderListin interfaceRunMetadataOrBuilder
-
addPartitionGraphsBuilder
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
addPartitionGraphsBuilder
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
getPartitionGraphsBuilderList
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3; -
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;- Specified by:
getFunctionGraphsListin interfaceRunMetadataOrBuilder
-
getFunctionGraphsCount
public 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;- Specified by:
getFunctionGraphsCountin interfaceRunMetadataOrBuilder
-
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;- Specified by:
getFunctionGraphsin interfaceRunMetadataOrBuilder
-
setFunctionGraphs
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; -
setFunctionGraphs
public RunMetadata.Builder setFunctionGraphs(int index, RunMetadata.FunctionGraphs.Builder builderForValue) 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; -
addFunctionGraphs
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; -
addFunctionGraphs
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; -
addFunctionGraphs
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; -
addFunctionGraphs
public RunMetadata.Builder addFunctionGraphs(int index, RunMetadata.FunctionGraphs.Builder builderForValue) 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; -
addAllFunctionGraphs
public RunMetadata.Builder addAllFunctionGraphs(Iterable<? extends RunMetadata.FunctionGraphs> values) 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; -
clearFunctionGraphs
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; -
removeFunctionGraphs
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; -
getFunctionGraphsBuilder
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;- Specified by:
getFunctionGraphsOrBuilderin interfaceRunMetadataOrBuilder
-
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;- Specified by:
getFunctionGraphsOrBuilderListin interfaceRunMetadataOrBuilder
-
addFunctionGraphsBuilder
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; -
addFunctionGraphsBuilder
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; -
getFunctionGraphsBuilderList
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; -
hasSessionMetadata
public boolean hasSessionMetadata()Metadata about the session.
.tensorflow.SessionMetadata session_metadata = 5;- Specified by:
hasSessionMetadatain interfaceRunMetadataOrBuilder- Returns:
- Whether the sessionMetadata field is set.
-
getSessionMetadata
Metadata about the session.
.tensorflow.SessionMetadata session_metadata = 5;- Specified by:
getSessionMetadatain interfaceRunMetadataOrBuilder- Returns:
- The sessionMetadata.
-
setSessionMetadata
Metadata about the session.
.tensorflow.SessionMetadata session_metadata = 5; -
setSessionMetadata
Metadata about the session.
.tensorflow.SessionMetadata session_metadata = 5; -
mergeSessionMetadata
Metadata about the session.
.tensorflow.SessionMetadata session_metadata = 5; -
clearSessionMetadata
Metadata about the session.
.tensorflow.SessionMetadata session_metadata = 5; -
getSessionMetadataBuilder
Metadata about the session.
.tensorflow.SessionMetadata session_metadata = 5; -
getSessionMetadataOrBuilder
Metadata about the session.
.tensorflow.SessionMetadata session_metadata = 5;- Specified by:
getSessionMetadataOrBuilderin interfaceRunMetadataOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<RunMetadata.Builder>
-