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