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