Struct tensorflow::ops::SparseAdd
source · pub struct SparseAdd { /* private fields */ }
Expand description
Builder for the SparseAdd
operation.
Implementations§
source§impl SparseAdd
impl SparseAdd
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>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>>(
&self,
a_indices: O0,
a_values: O1,
a_shape: O2,
b_indices: O3,
b_values: O4,
b_shape: O5,
thresh: O6,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>>( &self, a_indices: O0, a_values: O1, a_shape: O2, b_indices: O3, b_values: O4, b_shape: O5, thresh: O6, scope: &mut Scope ) -> Result<Operation>
Builds the SparseAdd
operation.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SparseAdd
impl Send for SparseAdd
impl Sync for SparseAdd
impl Unpin for SparseAdd
impl UnwindSafe for SparseAdd
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