[][src]Struct tensorflow::Device

pub struct Device {
    pub name: String,
    pub device_type: String,
    pub memory_bytes: i64,
    pub incarnation: u64,
}

Metadata about a device.

Fields

Full name of the device (e.g. /job:worker/replica:0/...)

Type of device.

Amount of memory on the device.

Incarnation number of the device.

Trait Implementations

impl PartialEq<Device> for Device
[src]

impl Clone for Device
[src]

Performs copy-assignment from source. Read more

impl Eq for Device
[src]

impl Debug for Device
[src]

impl Hash for Device
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Device

impl Sync for Device

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]