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.