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