Struct tfrecord::protos::DeviceAttributes[][src]

pub struct DeviceAttributes {
    pub name: String,
    pub device_type: String,
    pub memory_limit: i64,
    pub locality: Option<DeviceLocality>,
    pub incarnation: u64,
    pub physical_device_desc: String,
}

Fields

name: String

Fully specified name of the device within a cluster.

device_type: String

String representation of device_type.

memory_limit: i64

Memory capacity of device in bytes.

locality: Option<DeviceLocality>

Platform-specific data about device that may be useful for supporting efficient data transfers.

incarnation: u64

A device is assigned a global unique number each time it is initialized. “incarnation” should never be 0.

physical_device_desc: String

String representation of the physical device that this device maps to.

Trait Implementations

impl Clone for DeviceAttributes[src]

impl Debug for DeviceAttributes[src]

impl Default for DeviceAttributes[src]

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

impl Message for DeviceAttributes[src]

impl PartialEq<DeviceAttributes> for DeviceAttributes[src]

impl Serialize for DeviceAttributes[src]

impl StructuralPartialEq for DeviceAttributes[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> 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>,