Struct tensorflow::ops::ApplyAdagradV2
source · [−]pub struct ApplyAdagradV2 { /* private fields */ }
Expand description
Builder for the ApplyAdagradV2
operation.
Implementations
sourceimpl ApplyAdagradV2
impl ApplyAdagradV2
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.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>(
&self,
var: O0,
accum: O1,
lr: O2,
epsilon: O3,
grad: O4,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>(
&self,
var: O0,
accum: O1,
lr: O2,
epsilon: O3,
grad: O4,
scope: &mut Scope
) -> Result<Operation>
Builds the ApplyAdagradV2
operation.
sourcepub fn build_instance(
&self,
var: Output,
accum: Output,
lr: Output,
epsilon: Output,
grad: Output,
scope: &mut Scope
) -> Result<ApplyAdagradV2Inst>
pub fn build_instance(
&self,
var: Output,
accum: Output,
lr: Output,
epsilon: Output,
grad: Output,
scope: &mut Scope
) -> Result<ApplyAdagradV2Inst>
Builds a new instance of ‘ApplyAdagradV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for ApplyAdagradV2
impl Debug for ApplyAdagradV2
sourceimpl Default for ApplyAdagradV2
impl Default for ApplyAdagradV2
sourcefn default() -> ApplyAdagradV2
fn default() -> ApplyAdagradV2
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ApplyAdagradV2
impl Send for ApplyAdagradV2
impl Sync for ApplyAdagradV2
impl Unpin for ApplyAdagradV2
impl UnwindSafe for ApplyAdagradV2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more