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

pub struct ExecMemory {
    pub memory_micros: i64,
    pub host_temp_bytes: i64,
    pub host_persistent_bytes: i64,
    pub accelerator_temp_bytes: i64,
    pub accelerator_persistent_bytes: i64,
    pub requested_bytes: i64,
    pub peak_bytes: i64,
    pub residual_bytes: i64,
    pub output_bytes: i64,
    pub allocator_bytes_in_use: i64,
    pub output_memory: HashMap<i32, Memory>,
}

Fields

memory_micros: i64

This is the timestamp when the memory information was tracked.

host_temp_bytes: i64

NOTE: Please don't depend on the following 4 fields yet. Due to TensorFlow internal tracing issues, the numbers can be quite wrong. TODO(xpan): Fix the TensorFlow internal tracing.

host_persistent_bytes: i64accelerator_temp_bytes: i64accelerator_persistent_bytes: i64requested_bytes: i64

Total bytes requested by the op.

peak_bytes: i64

Total bytes requested by the op and released before op end.

residual_bytes: i64

Total bytes requested by the op and not released after op end.

output_bytes: i64

Total bytes output by the op (not necessarily requested by the op).

allocator_bytes_in_use: i64

The total number of bytes currently allocated by the allocator if >0.

output_memory: HashMap<i32, Memory>

The memory of each output of the operation.

Trait Implementations

impl Clone for ExecMemory[src]

impl Debug for ExecMemory[src]

impl Default for ExecMemory[src]

impl Message for ExecMemory[src]

impl PartialEq<ExecMemory> for ExecMemory[src]

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