[][src]Struct tensorflow_proto::tensorflow::tf2xla::HostTransferMetadata

pub struct HostTransferMetadata {
    pub key: String,
    pub metadata: Vec<TensorMetadata>,
}

HostTransferMetadata describes a transfer either from host to device or device to host. It has a key that is unique to the computation, and metadata about the list of tensors being transferred.

Fields

key: String

The key used to identify this transfer.

metadata: Vec<TensorMetadata>

For each Tensor being transferred, its type and shape.

Trait Implementations

impl Clone for HostTransferMetadata[src]

impl Debug for HostTransferMetadata[src]

impl Default for HostTransferMetadata[src]

impl Message for HostTransferMetadata[src]

impl PartialEq<HostTransferMetadata> for HostTransferMetadata[src]

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