[][src]Struct tensorflow_proto::tensorflow::tfprof::OpLogEntry

pub struct OpLogEntry {
    pub name: String,
    pub float_ops: i64,
    pub types: Vec<String>,
    pub code_def: Option<CodeDef>,
}

Fields

name: String

op name.

float_ops: i64

float_ops is filled by tfprof Python API when called. It requires the op has RegisterStatistics defined. Currently, Conv2D, MatMul, etc, are implemented.

types: Vec<String>

User can define extra op type information for an op. This allows the user to select a group of ops precisely using op_type as a key.

code_def: Option<CodeDef>

Used to support tfprof "code" view.

Trait Implementations

impl Clone for OpLogEntry[src]

impl Debug for OpLogEntry[src]

impl Default for OpLogEntry[src]

impl Message for OpLogEntry[src]

impl PartialEq<OpLogEntry> for OpLogEntry[src]

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