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