Struct tensorflow::ops::ResourceApplyAdamWithAmsgrad
source · pub struct ResourceApplyAdamWithAmsgrad { /* private fields */ }
Expand description
Builder for the ResourceApplyAdamWithAmsgrad
operation.
Implementations§
source§impl ResourceApplyAdamWithAmsgrad
impl ResourceApplyAdamWithAmsgrad
sourcepub fn use_locking<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn use_locking<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the use_locking
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>, O9: Into<Output>, O10: Into<Output>>(
&self,
var: O0,
m: O1,
v: O2,
vhat: O3,
beta1_power: O4,
beta2_power: O5,
lr: O6,
beta1: O7,
beta2: O8,
epsilon: O9,
grad: O10,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>, O9: Into<Output>, O10: Into<Output>>( &self, var: O0, m: O1, v: O2, vhat: O3, beta1_power: O4, beta2_power: O5, lr: O6, beta1: O7, beta2: O8, epsilon: O9, grad: O10, scope: &mut Scope ) -> Result<Operation>
Builds the ResourceApplyAdamWithAmsgrad
operation.
sourcepub fn build_instance(
&self,
var: Output,
m: Output,
v: Output,
vhat: Output,
beta1_power: Output,
beta2_power: Output,
lr: Output,
beta1: Output,
beta2: Output,
epsilon: Output,
grad: Output,
scope: &mut Scope
) -> Result<ResourceApplyAdamWithAmsgradInst>
pub fn build_instance( &self, var: Output, m: Output, v: Output, vhat: Output, beta1_power: Output, beta2_power: Output, lr: Output, beta1: Output, beta2: Output, epsilon: Output, grad: Output, scope: &mut Scope ) -> Result<ResourceApplyAdamWithAmsgradInst>
Builds a new instance of ‘ResourceApplyAdamWithAmsgrad’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ResourceApplyAdamWithAmsgrad
impl Debug for ResourceApplyAdamWithAmsgrad
source§impl Default for ResourceApplyAdamWithAmsgrad
impl Default for ResourceApplyAdamWithAmsgrad
source§fn default() -> ResourceApplyAdamWithAmsgrad
fn default() -> ResourceApplyAdamWithAmsgrad
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ResourceApplyAdamWithAmsgrad
impl Send for ResourceApplyAdamWithAmsgrad
impl Sync for ResourceApplyAdamWithAmsgrad
impl Unpin for ResourceApplyAdamWithAmsgrad
impl UnwindSafe for ResourceApplyAdamWithAmsgrad
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