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