[][src]Struct tensorflow_proto::tensorflow::CompleteInstanceRequest

pub struct CompleteInstanceRequest {
    pub name: String,
    pub type: i32,
    pub data_type: i32,
    pub shape: Option<TensorShapeProto>,
    pub group_key: i32,
    pub group_size: i32,
    pub instance_key: i32,
    pub device_type: String,
    pub subdiv_offset: Vec<i32>,
    pub device: String,
    pub is_source: bool,
}

Supplies data about one collective op belonging to the instance identified by instance_key. Service will respond when all group_size ops have become known. Most of the data being sent is for correctness checking, to ensure that all ops in the instance share common attributes.

Fields

name: Stringtype: i32data_type: i32shape: Option<TensorShapeProto>group_key: i32group_size: i32instance_key: i32device_type: Stringsubdiv_offset: Vec<i32>device: Stringis_source: bool

Implementations

impl CompleteInstanceRequest[src]

pub fn data_type(&self) -> DataType[src]

Returns the enum value of data_type, or the default if the field is set to an invalid enum value.

pub fn set_data_type(&mut self, value: DataType)[src]

Sets data_type to the provided enum value.

Trait Implementations

impl Clone for CompleteInstanceRequest[src]

impl Debug for CompleteInstanceRequest[src]

impl Default for CompleteInstanceRequest[src]

impl Message for CompleteInstanceRequest[src]

impl PartialEq<CompleteInstanceRequest> for CompleteInstanceRequest[src]

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