public final class
RunMetadata
Metadata output (i.e., non-Tensor) for a single Run() call.
tensorflow.RunMetadata
Nested Classes
class | RunMetadata.Builder | Metadata output (i.e., non-Tensor) for a single Run() call. |
|
class | RunMetadata.FunctionGraphs | Protobuf type tensorflow.RunMetadata.FunctionGraphs
|
|
interface | RunMetadata.FunctionGraphsOrBuilder |
Constants
int | COST_GRAPH_FIELD_NUMBER | |
int | FUNCTION_GRAPHS_FIELD_NUMBER | |
int | PARTITION_GRAPHS_FIELD_NUMBER | |
int | STEP_STATS_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
CostGraphDef |
getCostGraph()
The cost graph for the computation defined by the run call. |
CostGraphDefOrBuilder |
getCostGraphOrBuilder()
The cost graph for the computation defined by the run call. |
static RunMetadata | |
RunMetadata | |
final static com.google.protobuf.Descriptors.Descriptor | |
RunMetadata.FunctionGraphs |
getFunctionGraphs(int index)
This is only populated for graphs that are run as functions in TensorFlow V2. |
int |
getFunctionGraphsCount()
This is only populated for graphs that are run as functions in TensorFlow V2. |
List<RunMetadata.FunctionGraphs> |
getFunctionGraphsList()
This is only populated for graphs that are run as functions in TensorFlow V2. |
RunMetadata.FunctionGraphsOrBuilder |
getFunctionGraphsOrBuilder(int index)
This is only populated for graphs that are run as functions in TensorFlow V2. |
List<? extends RunMetadata.FunctionGraphsOrBuilder> |
getFunctionGraphsOrBuilderList()
This is only populated for graphs that are run as functions in TensorFlow V2. |
|
|
GraphDef |
getPartitionGraphs(int index)
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. |
int | |
StepStats |
getStepStats()
Statistics traced for this step. |
StepStatsOrBuilder |
getStepStatsOrBuilder()
Statistics traced for this step. |
final com.google.protobuf.UnknownFieldSet | |
boolean |
hasCostGraph()
The cost graph for the computation defined by the run call. |
boolean |
hasStepStats()
Statistics traced for this step. |
int |
hashCode()
|
final boolean | |
static RunMetadata.Builder |
newBuilder(RunMetadata prototype)
|
static RunMetadata.Builder | |
RunMetadata.Builder | |
static RunMetadata |
parseDelimitedFrom(InputStream input)
|
static RunMetadata |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RunMetadata |
parseFrom(ByteBuffer data)
|
static RunMetadata |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RunMetadata |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RunMetadata |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static RunMetadata |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RunMetadata |
parseFrom(com.google.protobuf.ByteString data)
|
static RunMetadata |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RunMetadata |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
RunMetadata.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int COST_GRAPH_FIELD_NUMBER
Constant Value:
2
public static final int FUNCTION_GRAPHS_FIELD_NUMBER
Constant Value:
4
public static final int PARTITION_GRAPHS_FIELD_NUMBER
Constant Value:
3
public static final int STEP_STATS_FIELD_NUMBER
Constant Value:
1
Public Methods
public boolean equals (Object obj)
public CostGraphDef getCostGraph ()
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;
public CostGraphDefOrBuilder getCostGraphOrBuilder ()
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;
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;
public 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;
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;
public 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;
public
getParserForType
()
public GraphDef getPartitionGraphs (int index)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
public int getPartitionGraphsCount ()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
public List<GraphDef> getPartitionGraphsList ()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
public GraphDefOrBuilder getPartitionGraphsOrBuilder (int index)
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
public List<? extends GraphDefOrBuilder> getPartitionGraphsOrBuilderList ()
Graphs of the partitions executed by executors.
repeated .tensorflow.GraphDef partition_graphs = 3;
public int getSerializedSize ()
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;
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;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasCostGraph ()
The cost graph for the computation defined by the run call.
.tensorflow.CostGraphDef cost_graph = 2;
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;
public int hashCode ()
public final boolean isInitialized ()
public static RunMetadata parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static RunMetadata parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static RunMetadata parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static RunMetadata parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static RunMetadata parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static RunMetadata parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static RunMetadata parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|