[][src]Struct tensorflow_proto::tensorflow::eager::SendTensorOp

pub struct SendTensorOp {
    pub op_id: i64,
    pub tensors: Vec<TensorProto>,
    pub device_name: String,
}

Fields

op_id: i64

All remote tensors are identified by <Op ID, Output num>. To mimic this situation when directly sending tensors, we include an "artificial" op ID (which would have corresponded to the _Recv op when not using SendTensor).

tensors: Vec<TensorProto>

The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.

device_name: String

The device on which the tensors should be resident.

Trait Implementations

impl Clone for SendTensorOp[src]

impl Debug for SendTensorOp[src]

impl Default for SendTensorOp[src]

impl Message for SendTensorOp[src]

impl PartialEq<SendTensorOp> for SendTensorOp[src]

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