Struct tfrecord::protos::cost_graph_def::Node[][src]

pub struct Node {
    pub name: String,
    pub device: String,
    pub id: i32,
    pub input_info: Vec<InputInfo>,
    pub output_info: Vec<OutputInfo>,
    pub temporary_memory_size: i64,
    pub persistent_memory_size: i64,
    pub host_temp_memory_size: i64,
    pub device_temp_memory_size: i64,
    pub device_persistent_memory_size: i64,
    pub compute_cost: i64,
    pub compute_time: i64,
    pub memory_time: i64,
    pub is_final: bool,
    pub control_input: Vec<i32>,
    pub inaccurate: bool,
}

Fields

name: String

The name of the node. Names are globally unique.

device: String

The device of the node. Can be empty if the node is mapped to the default partition or partitioning hasn’t been run yet.

id: i32

The id of the node. Node ids are only unique inside a partition.

input_info: Vec<InputInfo>output_info: Vec<OutputInfo>temporary_memory_size: i64

Temporary memory used by this node.

persistent_memory_size: i64

Persistent memory used by this node.

host_temp_memory_size: i64device_temp_memory_size: i64device_persistent_memory_size: i64compute_cost: i64

Estimate of the computational cost of this node, in microseconds.

compute_time: i64

Analytical estimate of the computational cost of this node, in microseconds.

memory_time: i64

Analytical estimate of the memory access cost of this node, in microseconds.

is_final: bool

If true, the output is permanent: it can’t be discarded, because this node is part of the “final output”. Nodes may depend on final nodes.

control_input: Vec<i32>

Ids of the control inputs for this node.

inaccurate: bool

Are the costs inaccurate?

Trait Implementations

impl Clone for Node[src]

impl Debug for Node[src]

impl Default for Node[src]

impl<'de> Deserialize<'de> for Node[src]

impl Message for Node[src]

impl PartialEq<Node> for Node[src]

impl Serialize for Node[src]

impl StructuralPartialEq for Node[src]

Auto Trait Implementations

impl RefUnwindSafe for Node

impl Send for Node

impl Sync for Node

impl Unpin for Node

impl UnwindSafe for Node

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,