public final class RunMetadata
Metadata output (i.e., non-Tensor) for a single Run() call.
tensorflow.RunMetadata
type tensorflow.RunMetadata
Classes aninhadas
aula | RunMetadata.Builder | Metadata output (i.e., non-Tensor) for a single Run() call. | |
aula | RunMetadata.FunctionGraphs | tensorflow.RunMetadata.FunctionGraphs type tensorflow.RunMetadata.FunctionGraphs | |
interface | RunMetadata.FunctionGraphsOrBuilder |
Constantes
int | COST_GRAPH_FIELD_NUMBER | |
int | FUNCTION_GRAPHS_FIELD_NUMBER | |
int | PARTITION_GRAPHS_FIELD_NUMBER | |
int | STEP_STATS_FIELD_NUMBER |
Métodos Públicos
boleano | igual a (objeto 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. |
RunMetadata estático | |
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 (índice int) This is only populated for graphs that are run as functions in TensorFlow V2. |
Lista <? estende 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. |
Lista < GraphDef > | getPartitionGraphsList () Graphs of the partitions executed by executors. |
GraphDefOrBuilder | |
Lista <? estende 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 | |
boleano | hasCostGraph () The cost graph for the computation defined by the run call. |
boleano | hasStepStats () Statistics traced for this step. |
int | hashCode () |
final booleano | |
static RunMetadata.Builder | newBuilder (protótipo RunMetadata ) |
static RunMetadata.Builder | newBuilder () |
RunMetadata.Builder | |
RunMetadata estático | parseDelimitedFrom (input InputStream) |
RunMetadata estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunMetadata estático | parseFrom (dados ByteBuffer) |
RunMetadata estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunMetadata estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunMetadata estático | parseFrom (com.google.protobuf.CodedInputStream input) |
RunMetadata estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunMetadata estático | parseFrom (com.google.protobuf.ByteString data) |
RunMetadata estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunMetadata estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
RunMetadata.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int COST_GRAPH_FIELD_NUMBER
Valor constante: 2
public static final int FUNCTION_GRAPHS_FIELD_NUMBER
Valor constante: 4
public static final int PARTITION_GRAPHS_FIELD_NUMBER
Valor Constante: 3
public static final int STEP_STATS_FIELD_NUMBER
Valor Constante: 1
Métodos Públicos
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 (índice interno )
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;
Lista pública <? estende 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;
público 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;
Lista pública <? estende 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)
Lança
IOException |
---|
public static RunMetadata parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static RunMetadata parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static RunMetadata parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static RunMetadata parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static RunMetadata parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static RunMetadata parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|