Struct tensorflow::ops::CollectiveAllToAllV2Inst
source · pub struct CollectiveAllToAllV2Inst {
pub op: Operation,
}
Expand description
An instance of ‘CollectiveAllToAllV2’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built CollectiveAllToAllV2 Operation in a Tensorflow graph.
Implementations§
source§impl CollectiveAllToAllV2Inst
impl CollectiveAllToAllV2Inst
sourcepub fn data(&self) -> Output
pub fn data(&self) -> Output
Returns the ‘data’ Output of this ‘CollectiveAllToAllV2’ operation.
sourcepub fn input(&self) -> Input<'_>
pub fn input(&self) -> Input<'_>
Returns the ‘input’ Input of this ‘CollectiveAllToAllV2’ operation.
sourcepub fn group_size(&self) -> Input<'_>
pub fn group_size(&self) -> Input<'_>
Returns the ‘group_size’ Input of this ‘CollectiveAllToAllV2’ operation.
sourcepub fn group_key(&self) -> Input<'_>
pub fn group_key(&self) -> Input<'_>
Returns the ‘group_key’ Input of this ‘CollectiveAllToAllV2’ operation.
sourcepub fn instance_key(&self) -> Input<'_>
pub fn instance_key(&self) -> Input<'_>
Returns the ‘instance_key’ Input of this ‘CollectiveAllToAllV2’ operation.
sourcepub fn ordering_token(&self) -> Result<Vec<Input<'_>>>
pub fn ordering_token(&self) -> Result<Vec<Input<'_>>>
Returns a Vector of ordering_token for ‘ordering_token’ Input of this CollectiveAllToAllV2 operation.
Trait Implementations§
source§impl Clone for CollectiveAllToAllV2Inst
impl Clone for CollectiveAllToAllV2Inst
source§fn clone(&self) -> CollectiveAllToAllV2Inst
fn clone(&self) -> CollectiveAllToAllV2Inst
Returns a copy 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 CollectiveAllToAllV2Inst
impl Debug for CollectiveAllToAllV2Inst
source§impl From<CollectiveAllToAllV2Inst> for Operation
impl From<CollectiveAllToAllV2Inst> for Operation
source§fn from(inst: CollectiveAllToAllV2Inst) -> Operation
fn from(inst: CollectiveAllToAllV2Inst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CollectiveAllToAllV2Inst
impl Send for CollectiveAllToAllV2Inst
impl Sync for CollectiveAllToAllV2Inst
impl Unpin for CollectiveAllToAllV2Inst
impl UnwindSafe for CollectiveAllToAllV2Inst
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