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