Package org.tensorflow.framework
Class RunMetadata.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
- org.tensorflow.framework.RunMetadata.Builder
-
- All Implemented Interfaces:
Cloneable
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,RunMetadataOrBuilder
- Enclosing class:
- RunMetadata
public static final class RunMetadata.Builder extends org.nd4j.shade.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.Builder
addAllPartitionGraphs(Iterable<? extends GraphDef> values)
Graphs of the partitions executed by executors.RunMetadata.Builder
addPartitionGraphs(int index, GraphDef value)
Graphs of the partitions executed by executors.RunMetadata.Builder
addPartitionGraphs(int index, GraphDef.Builder builderForValue)
Graphs of the partitions executed by executors.RunMetadata.Builder
addPartitionGraphs(GraphDef value)
Graphs of the partitions executed by executors.RunMetadata.Builder
addPartitionGraphs(GraphDef.Builder builderForValue)
Graphs of the partitions executed by executors.GraphDef.Builder
addPartitionGraphsBuilder()
Graphs of the partitions executed by executors.GraphDef.Builder
addPartitionGraphsBuilder(int index)
Graphs of the partitions executed by executors.RunMetadata.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RunMetadata
build()
RunMetadata
buildPartial()
RunMetadata.Builder
clear()
RunMetadata.Builder
clearCostGraph()
The cost graph for the computation defined by the run call.RunMetadata.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
RunMetadata.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
RunMetadata.Builder
clearPartitionGraphs()
Graphs of the partitions executed by executors.RunMetadata.Builder
clearStepStats()
Statistics traced for this step.RunMetadata.Builder
clone()
CostGraphDef
getCostGraph()
The cost graph for the computation defined by the run call.CostGraphDef.Builder
getCostGraphBuilder()
The cost graph for the computation defined by the run call.CostGraphDefOrBuilder
getCostGraphOrBuilder()
The cost graph for the computation defined by the run call.RunMetadata
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
GraphDef
getPartitionGraphs(int index)
Graphs of the partitions executed by executors.GraphDef.Builder
getPartitionGraphsBuilder(int index)
Graphs of the partitions executed by executors.List<GraphDef.Builder>
getPartitionGraphsBuilderList()
Graphs of the partitions executed by executors.int
getPartitionGraphsCount()
Graphs of the partitions executed by executors.List<GraphDef>
getPartitionGraphsList()
Graphs of the partitions executed by executors.GraphDefOrBuilder
getPartitionGraphsOrBuilder(int index)
Graphs of the partitions executed by executors.List<? extends GraphDefOrBuilder>
getPartitionGraphsOrBuilderList()
Graphs of the partitions executed by executors.StepStats
getStepStats()
Statistics traced for this step.StepStats.Builder
getStepStatsBuilder()
Statistics traced for this step.StepStatsOrBuilder
getStepStatsOrBuilder()
Statistics traced for this step.boolean
hasCostGraph()
The cost graph for the computation defined by the run call.boolean
hasStepStats()
Statistics traced for this step.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RunMetadata.Builder
mergeCostGraph(CostGraphDef value)
The cost graph for the computation defined by the run call.RunMetadata.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
RunMetadata.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
RunMetadata.Builder
mergeFrom(RunMetadata other)
RunMetadata.Builder
mergeStepStats(StepStats value)
Statistics traced for this step.RunMetadata.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
RunMetadata.Builder
removePartitionGraphs(int index)
Graphs of the partitions executed by executors.RunMetadata.Builder
setCostGraph(CostGraphDef value)
The cost graph for the computation defined by the run call.RunMetadata.Builder
setCostGraph(CostGraphDef.Builder builderForValue)
The cost graph for the computation defined by the run call.RunMetadata.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RunMetadata.Builder
setPartitionGraphs(int index, GraphDef value)
Graphs of the partitions executed by executors.RunMetadata.Builder
setPartitionGraphs(int index, GraphDef.Builder builderForValue)
Graphs of the partitions executed by executors.RunMetadata.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RunMetadata.Builder
setStepStats(StepStats value)
Statistics traced for this step.RunMetadata.Builder
setStepStats(StepStats.Builder builderForValue)
Statistics traced for this step.RunMetadata.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class org.nd4j.shade.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 org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
clear
public RunMetadata.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
getDefaultInstanceForType
public RunMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RunMetadata build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RunMetadata buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RunMetadata.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
setField
public RunMetadata.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
clearField
public RunMetadata.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
clearOneof
public RunMetadata.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
setRepeatedField
public RunMetadata.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
addRepeatedField
public RunMetadata.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeFrom
public RunMetadata.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RunMetadata.Builder>
-
mergeFrom
public RunMetadata.Builder mergeFrom(RunMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeFrom
public RunMetadata.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.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:
hasStepStats
in 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:
getStepStats
in 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:
getStepStatsOrBuilder
in interfaceRunMetadataOrBuilder
-
hasCostGraph
public boolean hasCostGraph()
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;
- Specified by:
hasCostGraph
in 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:
getCostGraph
in 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:
getCostGraphOrBuilder
in interfaceRunMetadataOrBuilder
-
getPartitionGraphsList
public List<GraphDef> getPartitionGraphsList()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
- Specified by:
getPartitionGraphsList
in interfaceRunMetadataOrBuilder
-
getPartitionGraphsCount
public int getPartitionGraphsCount()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
- Specified by:
getPartitionGraphsCount
in interfaceRunMetadataOrBuilder
-
getPartitionGraphs
public GraphDef getPartitionGraphs(int index)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
- Specified by:
getPartitionGraphs
in 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(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:
getPartitionGraphsOrBuilder
in interfaceRunMetadataOrBuilder
-
getPartitionGraphsOrBuilderList
public List<? extends GraphDefOrBuilder> getPartitionGraphsOrBuilderList()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
- Specified by:
getPartitionGraphsOrBuilderList
in 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 List<GraphDef.Builder> getPartitionGraphsBuilderList()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
-
setUnknownFields
public final RunMetadata.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
mergeUnknownFields
public final RunMetadata.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunMetadata.Builder>
-
-