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