Struct tensorflow::ops::AllToAll
source · pub struct AllToAll { /* private fields */ }
Expand description
Builder for the AllToAll
operation.
Implementations§
source§impl AllToAll
impl AllToAll
sourcepub fn concat_dimension<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn concat_dimension<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the concat_dimension
attribute.
sourcepub fn split_dimension<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn split_dimension<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the split_dimension
attribute.
sourcepub fn split_count<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn split_count<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the split_count
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>>(
&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 AllToAll
operation.
sourcepub fn build_instance(
&self,
input: Output,
group_assignment: Output,
scope: &mut Scope
) -> Result<AllToAllInst>
pub fn build_instance( &self, input: Output, group_assignment: Output, scope: &mut Scope ) -> Result<AllToAllInst>
Builds a new instance of ‘AllToAll’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AllToAll
impl Send for AllToAll
impl Sync for AllToAll
impl Unpin for AllToAll
impl UnwindSafe for AllToAll
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