pub struct ResourceApplyAdagrad { /* private fields */ }
Expand description
Builder for the ResourceApplyAdagrad
operation.
Implementations§
Source§impl ResourceApplyAdagrad
impl ResourceApplyAdagrad
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 update_slots<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn update_slots<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the update_slots
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for ResourceApplyAdagrad
impl Debug for ResourceApplyAdagrad
Source§impl Default for ResourceApplyAdagrad
impl Default for ResourceApplyAdagrad
Source§fn default() -> ResourceApplyAdagrad
fn default() -> ResourceApplyAdagrad
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResourceApplyAdagrad
impl RefUnwindSafe for ResourceApplyAdagrad
impl Send for ResourceApplyAdagrad
impl Sync for ResourceApplyAdagrad
impl Unpin for ResourceApplyAdagrad
impl UnwindSafe for ResourceApplyAdagrad
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