Struct tensorflow::ops::NcclBroadcast
source · [−]pub struct NcclBroadcast { /* private fields */ }
Expand description
Builder for the NcclBroadcast
operation.
Implementations
sourceimpl 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
sourceimpl Debug for NcclBroadcast
impl Debug for NcclBroadcast
sourceimpl Default for NcclBroadcast
impl Default for NcclBroadcast
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more