[][src]Struct tensorflow_proto::tensorflow::gpu_options::experimental::VirtualDevices

pub struct VirtualDevices {
    pub memory_limit_mb: Vec<f32>,
}

Configuration for breaking down a visible GPU into multiple "virtual" devices.

Fields

memory_limit_mb: Vec<f32>

Per "virtual" device memory limit, in MB. The number of elements in the list is the number of virtual devices to create on the corresponding visible GPU (see "virtual_devices" below). If empty, it will create single virtual device taking all available memory from the device.

For the concept of "visible" and "virtual" GPU, see the comments for "visible_device_list" above for more information.

Trait Implementations

impl Clone for VirtualDevices[src]

impl Debug for VirtualDevices[src]

impl Default for VirtualDevices[src]

impl Message for VirtualDevices[src]

impl PartialEq<VirtualDevices> for VirtualDevices[src]

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