[][src]Struct tensorflow_proto::tensorflow::OpPerformance

pub struct OpPerformance {
    pub op: Option<OpInfo>,
    pub session_info: Option<SessionInfo>,
    pub node: String,
    pub temporary_memory_size: i64,
    pub compute_cost: i64,
    pub compute_time: i64,
    pub memory_time: i64,
    pub compute_efficiency: f64,
    pub memory_efficiency: f64,
    pub op_memory: Option<OpMemory>,
    pub execution_time: Option<ExecutionTime>,
}

Performance data for tensorflow operations

Fields

op: Option<OpInfo>

The op

session_info: Option<SessionInfo>
👎 Deprecated

Information about the session configs.

node: String

The node name (optional). Makes it easier to associate the performance data with a specific graph node.

temporary_memory_size: i64

Temporary memory used by this node (in bytes).

compute_cost: i64

Time it takes to run the op (in nanoseconds).

compute_time: i64

Analytical compute cost (in nanoseconds).

memory_time: i64

Analytical memory access cost (in nanoseconds).

compute_efficiency: f64

Percentage of theoretical compute performance.

memory_efficiency: f64

Percentage of theoretical memory performance.

op_memory: Option<OpMemory>execution_time: Option<ExecutionTime>

Expected execution time, modeled using one of 2 possible distributions.

Trait Implementations

impl Clone for OpPerformance[src]

impl Debug for OpPerformance[src]

impl Default for OpPerformance[src]

impl Message for OpPerformance[src]

impl PartialEq<OpPerformance> for OpPerformance[src]

impl StructuralPartialEq for OpPerformance[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.