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