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
sourceimpl 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
sourceimpl Clone for SparseApplyMomentumInst
impl Clone for SparseApplyMomentumInst
sourcefn clone(&self) -> SparseApplyMomentumInst
fn clone(&self) -> SparseApplyMomentumInst
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SparseApplyMomentumInst
impl Debug for SparseApplyMomentumInst
sourceimpl From<SparseApplyMomentumInst> for Operation
impl From<SparseApplyMomentumInst> for Operation
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more