Struct tensorflow::ops::SparseAddGradInst
source · pub struct SparseAddGradInst {
pub op: Operation,
}
Expand description
An instance of ‘SparseAddGrad’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built SparseAddGrad Operation in a Tensorflow graph.
Implementations§
source§impl SparseAddGradInst
impl SparseAddGradInst
sourcepub fn a_val_grad(&self) -> Output
pub fn a_val_grad(&self) -> Output
Returns the ‘a_val_grad’ Output of this ‘SparseAddGrad’ operation.
sourcepub fn b_val_grad(&self) -> Output
pub fn b_val_grad(&self) -> Output
Returns the ‘b_val_grad’ Output of this ‘SparseAddGrad’ operation.
sourcepub fn backprop_val_grad(&self) -> Input<'_>
pub fn backprop_val_grad(&self) -> Input<'_>
Returns the ‘backprop_val_grad’ Input of this ‘SparseAddGrad’ operation.
sourcepub fn a_indices(&self) -> Input<'_>
pub fn a_indices(&self) -> Input<'_>
Returns the ‘a_indices’ Input of this ‘SparseAddGrad’ operation.
sourcepub fn b_indices(&self) -> Input<'_>
pub fn b_indices(&self) -> Input<'_>
Returns the ‘b_indices’ Input of this ‘SparseAddGrad’ operation.
sourcepub fn sum_indices(&self) -> Input<'_>
pub fn sum_indices(&self) -> Input<'_>
Returns the ‘sum_indices’ Input of this ‘SparseAddGrad’ operation.
Trait Implementations§
source§impl Clone for SparseAddGradInst
impl Clone for SparseAddGradInst
source§fn clone(&self) -> SparseAddGradInst
fn clone(&self) -> SparseAddGradInst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SparseAddGradInst
impl Debug for SparseAddGradInst
source§impl From<SparseAddGradInst> for Operation
impl From<SparseAddGradInst> for Operation
source§fn from(inst: SparseAddGradInst) -> Operation
fn from(inst: SparseAddGradInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SparseAddGradInst
impl Send for SparseAddGradInst
impl Sync for SparseAddGradInst
impl Unpin for SparseAddGradInst
impl UnwindSafe for SparseAddGradInst
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