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