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