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