Package org.tensorflow.framework
Class RunMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.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 typetensorflow.RunMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RunMetadata.BuilderaddAllFunctionGraphs(java.lang.Iterable<? extends RunMetadata.FunctionGraphs> values)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.BuilderaddAllPartitionGraphs(java.lang.Iterable<? extends GraphDef> values)Graphs of the partitions executed by executors.RunMetadata.BuilderaddFunctionGraphs(int index, RunMetadata.FunctionGraphs value)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.BuilderaddFunctionGraphs(int index, RunMetadata.FunctionGraphs.Builder builderForValue)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.BuilderaddFunctionGraphs(RunMetadata.FunctionGraphs value)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.BuilderaddFunctionGraphs(RunMetadata.FunctionGraphs.Builder builderForValue)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.FunctionGraphs.BuilderaddFunctionGraphsBuilder()This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.FunctionGraphs.BuilderaddFunctionGraphsBuilder(int index)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.BuilderaddPartitionGraphs(int index, GraphDef value)Graphs of the partitions executed by executors.RunMetadata.BuilderaddPartitionGraphs(int index, GraphDef.Builder builderForValue)Graphs of the partitions executed by executors.RunMetadata.BuilderaddPartitionGraphs(GraphDef value)Graphs of the partitions executed by executors.RunMetadata.BuilderaddPartitionGraphs(GraphDef.Builder builderForValue)Graphs of the partitions executed by executors.GraphDef.BuilderaddPartitionGraphsBuilder()Graphs of the partitions executed by executors.GraphDef.BuilderaddPartitionGraphsBuilder(int index)Graphs of the partitions executed by executors.RunMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)RunMetadatabuild()RunMetadatabuildPartial()RunMetadata.Builderclear()RunMetadata.BuilderclearCostGraph()The cost graph for the computation defined by the run call.RunMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RunMetadata.BuilderclearFunctionGraphs()This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RunMetadata.BuilderclearPartitionGraphs()Graphs of the partitions executed by executors.RunMetadata.BuilderclearStepStats()Statistics traced for this step.RunMetadata.Builderclone()CostGraphDefgetCostGraph()The cost graph for the computation defined by the run call.CostGraphDef.BuildergetCostGraphBuilder()The cost graph for the computation defined by the run call.CostGraphDefOrBuildergetCostGraphOrBuilder()The cost graph for the computation defined by the run call.RunMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RunMetadata.FunctionGraphsgetFunctionGraphs(int index)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.FunctionGraphs.BuildergetFunctionGraphsBuilder(int index)This is only populated for graphs that are run as functions in TensorFlow V2.java.util.List<RunMetadata.FunctionGraphs.Builder>getFunctionGraphsBuilderList()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.GraphDef.BuildergetPartitionGraphsBuilder(int index)Graphs of the partitions executed by executors.java.util.List<GraphDef.Builder>getPartitionGraphsBuilderList()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.StepStats.BuildergetStepStatsBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RunMetadata.BuildermergeCostGraph(CostGraphDef value)The cost graph for the computation defined by the run call.RunMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RunMetadata.BuildermergeFrom(com.google.protobuf.Message other)RunMetadata.BuildermergeFrom(RunMetadata other)RunMetadata.BuildermergeStepStats(StepStats value)Statistics traced for this step.RunMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RunMetadata.BuilderremoveFunctionGraphs(int index)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.BuilderremovePartitionGraphs(int index)Graphs of the partitions executed by executors.RunMetadata.BuildersetCostGraph(CostGraphDef value)The cost graph for the computation defined by the run call.RunMetadata.BuildersetCostGraph(CostGraphDef.Builder builderForValue)The cost graph for the computation defined by the run call.RunMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)RunMetadata.BuildersetFunctionGraphs(int index, RunMetadata.FunctionGraphs value)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.BuildersetFunctionGraphs(int index, RunMetadata.FunctionGraphs.Builder builderForValue)This is only populated for graphs that are run as functions in TensorFlow V2.RunMetadata.BuildersetPartitionGraphs(int index, GraphDef value)Graphs of the partitions executed by executors.RunMetadata.BuildersetPartitionGraphs(int index, GraphDef.Builder builderForValue)Graphs of the partitions executed by executors.RunMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)RunMetadata.BuildersetStepStats(StepStats value)Statistics traced for this step.RunMetadata.BuildersetStepStats(StepStats.Builder builderForValue)Statistics traced for this step.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public RunMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RunMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RunMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RunMetadata.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
clearField
public RunMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
clearOneof
public RunMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeFrom
public RunMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RunMetadata.Builder>
-
mergeFrom
public RunMetadata.Builder mergeFrom(RunMetadata other)
-
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 java.io.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:
java.io.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
public 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;- Specified by:
getStepStatsin interfaceRunMetadataOrBuilder- Returns:
- The stepStats.
-
setStepStats
public RunMetadata.Builder setStepStats(StepStats value)
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
public RunMetadata.Builder setStepStats(StepStats.Builder builderForValue)
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
public RunMetadata.Builder mergeStepStats(StepStats value)
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
public RunMetadata.Builder 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
public StepStats.Builder 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
public 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;- 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
public CostGraphDef 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
public RunMetadata.Builder setCostGraph(CostGraphDef value)
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;
-
setCostGraph
public RunMetadata.Builder setCostGraph(CostGraphDef.Builder builderForValue)
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;
-
mergeCostGraph
public RunMetadata.Builder mergeCostGraph(CostGraphDef value)
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;
-
clearCostGraph
public RunMetadata.Builder clearCostGraph()
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;
-
getCostGraphBuilder
public CostGraphDef.Builder getCostGraphBuilder()
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;
-
getCostGraphOrBuilder
public CostGraphDefOrBuilder getCostGraphOrBuilder()
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;- Specified by:
getCostGraphOrBuilderin interfaceRunMetadataOrBuilder
-
getPartitionGraphsList
public java.util.List<GraphDef> 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
public GraphDef getPartitionGraphs(int index)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;- Specified by:
getPartitionGraphsin interfaceRunMetadataOrBuilder
-
setPartitionGraphs
public RunMetadata.Builder setPartitionGraphs(int index, GraphDef value)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
setPartitionGraphs
public RunMetadata.Builder setPartitionGraphs(int index, GraphDef.Builder builderForValue)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
addPartitionGraphs
public RunMetadata.Builder addPartitionGraphs(GraphDef value)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
addPartitionGraphs
public RunMetadata.Builder addPartitionGraphs(int index, GraphDef value)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
addPartitionGraphs
public RunMetadata.Builder addPartitionGraphs(GraphDef.Builder builderForValue)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
addPartitionGraphs
public RunMetadata.Builder addPartitionGraphs(int index, GraphDef.Builder builderForValue)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
addAllPartitionGraphs
public RunMetadata.Builder addAllPartitionGraphs(java.lang.Iterable<? extends GraphDef> values)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
clearPartitionGraphs
public RunMetadata.Builder clearPartitionGraphs()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
removePartitionGraphs
public RunMetadata.Builder removePartitionGraphs(int index)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
getPartitionGraphsBuilder
public GraphDef.Builder getPartitionGraphsBuilder(int index)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
getPartitionGraphsOrBuilder
public GraphDefOrBuilder getPartitionGraphsOrBuilder(int index)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;- Specified by:
getPartitionGraphsOrBuilderin interfaceRunMetadataOrBuilder
-
getPartitionGraphsOrBuilderList
public java.util.List<? extends GraphDefOrBuilder> getPartitionGraphsOrBuilderList()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;- Specified by:
getPartitionGraphsOrBuilderListin interfaceRunMetadataOrBuilder
-
addPartitionGraphsBuilder
public GraphDef.Builder addPartitionGraphsBuilder()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
addPartitionGraphsBuilder
public GraphDef.Builder addPartitionGraphsBuilder(int index)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
getPartitionGraphsBuilderList
public java.util.List<GraphDef.Builder> getPartitionGraphsBuilderList()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
getFunctionGraphsList
public 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;- 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
public RunMetadata.FunctionGraphs getFunctionGraphs(int index)
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
public RunMetadata.Builder setFunctionGraphs(int index, RunMetadata.FunctionGraphs value)
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
public RunMetadata.Builder addFunctionGraphs(RunMetadata.FunctionGraphs value)
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 value)
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(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
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(java.lang.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
public RunMetadata.Builder 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
public RunMetadata.Builder removeFunctionGraphs(int index)
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
public RunMetadata.FunctionGraphs.Builder getFunctionGraphsBuilder(int index)
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
public RunMetadata.FunctionGraphsOrBuilder getFunctionGraphsOrBuilder(int index)
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
public 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;- Specified by:
getFunctionGraphsOrBuilderListin interfaceRunMetadataOrBuilder
-
addFunctionGraphsBuilder
public RunMetadata.FunctionGraphs.Builder 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
public RunMetadata.FunctionGraphs.Builder addFunctionGraphsBuilder(int index)
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
public java.util.List<RunMetadata.FunctionGraphs.Builder> 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;
-
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>
-
-