[][src]Struct tfrecord::protos::AllocationDescription

pub struct AllocationDescription {
    pub requested_bytes: i64,
    pub allocated_bytes: i64,
    pub allocator_name: String,
    pub allocation_id: i64,
    pub has_single_reference: bool,
    pub ptr: u64,
}

Fields

requested_bytes: i64

Total number of bytes requested

allocated_bytes: i64

Total number of bytes allocated if known

allocator_name: String

Name of the allocator used

allocation_id: i64

Identifier of the allocated buffer if known

has_single_reference: bool

Set if this tensor only has one remaining reference

ptr: u64

Address of the allocation.

Trait Implementations

impl Clone for AllocationDescription[src]

impl Debug for AllocationDescription[src]

impl Default for AllocationDescription[src]

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

impl Message for AllocationDescription[src]

impl PartialEq<AllocationDescription> for AllocationDescription[src]

impl Serialize for AllocationDescription[src]

impl StructuralPartialEq for AllocationDescription[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> 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> SetParameter for T

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.