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