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