pub struct SparseConditionalAccumulator { /* private fields */ }
Expand description
Builder for the SparseConditionalAccumulator
operation.
Implementations§
Source§impl SparseConditionalAccumulator
impl SparseConditionalAccumulator
Sourcepub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the container
attribute.
Sets the shared_name
attribute.
Sourcepub fn reduction_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn reduction_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the reduction_type
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for SparseConditionalAccumulator
impl Debug for SparseConditionalAccumulator
Source§impl Default for SparseConditionalAccumulator
impl Default for SparseConditionalAccumulator
Source§fn default() -> SparseConditionalAccumulator
fn default() -> SparseConditionalAccumulator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SparseConditionalAccumulator
impl RefUnwindSafe for SparseConditionalAccumulator
impl Send for SparseConditionalAccumulator
impl Sync for SparseConditionalAccumulator
impl Unpin for SparseConditionalAccumulator
impl UnwindSafe for SparseConditionalAccumulator
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