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