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