Package org.tensorflow.framework
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.framework.RunMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,RunMetadataOrBuilder
- Enclosing class:
RunMetadata
public static final class RunMetadata.Builder
extends com.google.protobuf.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(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The cost graph for the computation defined by the run call.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) This is only populated for graphs that are run as functions in TensorFlow V2.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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 com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCostGraph(CostGraphDef value) The cost graph for the computation defined by the run call.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RunMetadata other) Metadata about the session.mergeStepStats(StepStats value) Statistics traced for this step.final RunMetadata.BuildermergeUnknownFields(com.google.protobuf.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.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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
setField
public RunMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
setRepeatedField
public RunMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
addRepeatedField
public RunMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RunMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeFrom
public RunMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.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
public final RunMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeUnknownFields
public final RunMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-