Struct tensorflow::ops::SparseAddInst
source · pub struct SparseAddInst {
pub op: Operation,
}
Expand description
An instance of ‘SparseAdd’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built SparseAdd Operation in a Tensorflow graph.
Implementations§
source§impl SparseAddInst
impl SparseAddInst
sourcepub fn sum_indices(&self) -> Output
pub fn sum_indices(&self) -> Output
Returns the ‘sum_indices’ Output of this ‘SparseAdd’ operation.
sourcepub fn sum_values(&self) -> Output
pub fn sum_values(&self) -> Output
Returns the ‘sum_values’ Output of this ‘SparseAdd’ operation.
sourcepub fn sum_shape(&self) -> Output
pub fn sum_shape(&self) -> Output
Returns the ‘sum_shape’ Output of this ‘SparseAdd’ operation.
sourcepub fn a_indices(&self) -> Input<'_>
pub fn a_indices(&self) -> Input<'_>
Returns the ‘a_indices’ Input of this ‘SparseAdd’ operation.
sourcepub fn a_values(&self) -> Input<'_>
pub fn a_values(&self) -> Input<'_>
Returns the ‘a_values’ Input of this ‘SparseAdd’ operation.
sourcepub fn b_indices(&self) -> Input<'_>
pub fn b_indices(&self) -> Input<'_>
Returns the ‘b_indices’ Input of this ‘SparseAdd’ operation.
Trait Implementations§
source§impl Clone for SparseAddInst
impl Clone for SparseAddInst
source§fn clone(&self) -> SparseAddInst
fn clone(&self) -> SparseAddInst
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 SparseAddInst
impl Debug for SparseAddInst
source§impl From<SparseAddInst> for Operation
impl From<SparseAddInst> for Operation
source§fn from(inst: SparseAddInst) -> Operation
fn from(inst: SparseAddInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SparseAddInst
impl Send for SparseAddInst
impl Sync for SparseAddInst
impl Unpin for SparseAddInst
impl UnwindSafe for SparseAddInst
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