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