pub struct ApplyAdadelta { /* private fields */ }
Expand description
Builder for the ApplyAdadelta
operation.
Implementations§
Source§impl ApplyAdadelta
impl ApplyAdadelta
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>>(
&self,
var: O0,
accum: O1,
accum_update: O2,
lr: O3,
rho: O4,
epsilon: O5,
grad: O6,
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>>( &self, var: O0, accum: O1, accum_update: O2, lr: O3, rho: O4, epsilon: O5, grad: O6, scope: &mut Scope, ) -> Result<Operation>
Builds the ApplyAdadelta
operation.
Trait Implementations§
Source§impl Debug for ApplyAdadelta
impl Debug for ApplyAdadelta
Source§impl Default for ApplyAdadelta
impl Default for ApplyAdadelta
Source§fn default() -> ApplyAdadelta
fn default() -> ApplyAdadelta
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApplyAdadelta
impl RefUnwindSafe for ApplyAdadelta
impl Send for ApplyAdadelta
impl Sync for ApplyAdadelta
impl Unpin for ApplyAdadelta
impl UnwindSafe for ApplyAdadelta
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