[][src]Struct tensorflow_proto::tensorflow::RunMetadata

pub struct RunMetadata {
    pub step_stats: Option<StepStats>,
    pub cost_graph: Option<CostGraphDef>,
    pub partition_graphs: Vec<GraphDef>,
    pub function_graphs: Vec<FunctionGraphs>,
}

Metadata output (i.e., non-Tensor) for a single Run() call.

Fields

step_stats: Option<StepStats>

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.

cost_graph: Option<CostGraphDef>

The cost graph for the computation defined by the run call.

partition_graphs: Vec<GraphDef>

Graphs of the partitions executed by executors.

function_graphs: Vec<FunctionGraphs>

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).

Trait Implementations

impl Clone for RunMetadata[src]

impl Debug for RunMetadata[src]

impl Default for RunMetadata[src]

impl Message for RunMetadata[src]

impl PartialEq<RunMetadata> for RunMetadata[src]

impl StructuralPartialEq for RunMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.