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