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