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