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