Struct tensorflow::ops::CrossReplicaSum
source · pub struct CrossReplicaSum { /* private fields */ }
Expand description
Builder for the CrossReplicaSum
operation.
Implementations§
source§impl CrossReplicaSum
impl CrossReplicaSum
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
input: O0,
group_assignment: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, input: O0, group_assignment: O1, scope: &mut Scope ) -> Result<Operation>
Builds the CrossReplicaSum
operation.
sourcepub fn build_instance(
&self,
input: Output,
group_assignment: Output,
scope: &mut Scope
) -> Result<CrossReplicaSumInst>
pub fn build_instance( &self, input: Output, group_assignment: Output, scope: &mut Scope ) -> Result<CrossReplicaSumInst>
Builds a new instance of ‘CrossReplicaSum’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for CrossReplicaSum
impl Debug for CrossReplicaSum
source§impl Default for CrossReplicaSum
impl Default for CrossReplicaSum
source§fn default() -> CrossReplicaSum
fn default() -> CrossReplicaSum
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CrossReplicaSum
impl Send for CrossReplicaSum
impl Sync for CrossReplicaSum
impl Unpin for CrossReplicaSum
impl UnwindSafe for CrossReplicaSum
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