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