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