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

pub struct ProfileNode {
    pub name: String,
    pub op: String,
    pub id: i64,
    pub inputs: HashMap<i32, i64>,
    pub input_shapes: HashMap<i32, Tuple>,
    pub outputs: HashMap<i32, i64>,
    pub output_shapes: HashMap<i32, Tuple>,
    pub src_output_index: HashMap<i64, i32>,
    pub shape: Vec<i64>,
    pub op_types: Vec<String>,
    pub canonical_device: String,
    pub host_device: String,
    pub float_ops: i64,
    pub trace: Option<CodeDef>,
    pub attrs: HashMap<String, AttrValue>,
    pub execs: HashMap<i64, ExecProfile>,
}

Fields

name: String

graph node name.

op: String

graph operation type.

id: i64

A unique id for the node.

inputs: HashMap<i32, i64>input_shapes: HashMap<i32, Tuple>outputs: HashMap<i32, i64>output_shapes: HashMap<i32, Tuple>src_output_index: HashMap<i64, i32>

A map from source node id to its output index to current node.

shape: Vec<i64>op_types: Vec<String>canonical_device: Stringhost_device: Stringfloat_ops: i64trace: Option<CodeDef>attrs: HashMap<String, AttrValue>execs: HashMap<i64, ExecProfile>

Trait Implementations

impl Clone for ProfileNode[src]

impl Debug for ProfileNode[src]

impl Default for ProfileNode[src]

impl Message for ProfileNode[src]

impl PartialEq<ProfileNode> for ProfileNode[src]

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