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