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