[][src]Struct tensorflow_proto::tensorflow::DeviceProperties

pub struct DeviceProperties {
    pub type: String,
    pub vendor: String,
    pub model: String,
    pub frequency: i64,
    pub num_cores: i64,
    pub environment: HashMap<String, String>,
    pub num_registers: i64,
    pub l1_cache_size: i64,
    pub l2_cache_size: i64,
    pub l3_cache_size: i64,
    pub shared_memory_size_per_multiprocessor: i64,
    pub memory_size: i64,
    pub bandwidth: i64,
}

Fields

type: String

Device type (CPU, GPU, ...)

vendor: String

Vendor (Intel, nvidia, ...)

model: String

Model (Haswell, K40, ...)

frequency: i64

Core Frequency in Mhz

num_cores: i64

Number of cores

environment: HashMap<String, String>

Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)

num_registers: i64

Number of registers per core.

l1_cache_size: i64

L1 cache size in bytes

l2_cache_size: i64

L2 cache size in bytes

l3_cache_size: i64

L3 cache size in bytes

shared_memory_size_per_multiprocessor: i64

Shared memory size per multiprocessor in bytes. This field is applicable to GPUs only.

memory_size: i64

Memory size in bytes

bandwidth: i64

Memory bandwidth in KB/s

Trait Implementations

impl Clone for DeviceProperties[src]

impl Debug for DeviceProperties[src]

impl Default for DeviceProperties[src]

impl Message for DeviceProperties[src]

impl PartialEq<DeviceProperties> for DeviceProperties[src]

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