[][src]Struct tensorflow_proto::xla::DeviceHandle

pub struct DeviceHandle {
    pub handle: i64,
    pub device_count: i64,
}

Handle given to a user that represents a replicated virtual device. Each replicated device represents N physical devices for execution where N is the number of replicas.

Fields

handle: i64device_count: i64

The number of model-parallel virtual devices that communicate via XLA Send/Recv instructions.

Trait Implementations

impl Clone for DeviceHandle[src]

impl Debug for DeviceHandle[src]

impl Default for DeviceHandle[src]

impl Message for DeviceHandle[src]

impl PartialEq<DeviceHandle> for DeviceHandle[src]

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