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,
}
Expand description
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: String
§type: i32
§data_type: i32
§shape: Option<TensorShapeProto>
§group_key: i32
§group_size: i32
§instance_key: i32
§device_type: String
§subdiv_offset: Vec<i32>
§device: String
§is_source: bool
Implementations§
Trait Implementations§
Source§impl Clone for CompleteInstanceRequest
impl Clone for CompleteInstanceRequest
Source§fn clone(&self) -> CompleteInstanceRequest
fn clone(&self) -> CompleteInstanceRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompleteInstanceRequest
impl Debug for CompleteInstanceRequest
Source§impl Default for CompleteInstanceRequest
impl Default for CompleteInstanceRequest
Source§impl Message for CompleteInstanceRequest
impl Message for CompleteInstanceRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for CompleteInstanceRequest
impl PartialEq for CompleteInstanceRequest
impl StructuralPartialEq for CompleteInstanceRequest
Auto Trait Implementations§
impl Freeze for CompleteInstanceRequest
impl RefUnwindSafe for CompleteInstanceRequest
impl Send for CompleteInstanceRequest
impl Sync for CompleteInstanceRequest
impl Unpin for CompleteInstanceRequest
impl UnwindSafe for CompleteInstanceRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more