Struct tensorflow::ops::ResourceSparseApplyAdagradV2
source · pub struct ResourceSparseApplyAdagradV2 { /* private fields */ }
Expand description
Builder for the ResourceSparseApplyAdagradV2
operation.
Implementations§
source§impl ResourceSparseApplyAdagradV2
impl ResourceSparseApplyAdagradV2
sourcepub fn Tindices<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tindices<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tindices
attribute.
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>, O5: Into<Output>>(
&self,
var: O0,
accum: O1,
lr: O2,
epsilon: O3,
grad: O4,
indices: O5,
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>>( &self, var: O0, accum: O1, lr: O2, epsilon: O3, grad: O4, indices: O5, scope: &mut Scope ) -> Result<Operation>
Builds the ResourceSparseApplyAdagradV2
operation.
sourcepub fn build_instance(
&self,
var: Output,
accum: Output,
lr: Output,
epsilon: Output,
grad: Output,
indices: Output,
scope: &mut Scope
) -> Result<ResourceSparseApplyAdagradV2Inst>
pub fn build_instance( &self, var: Output, accum: Output, lr: Output, epsilon: Output, grad: Output, indices: Output, scope: &mut Scope ) -> Result<ResourceSparseApplyAdagradV2Inst>
Builds a new instance of ‘ResourceSparseApplyAdagradV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ResourceSparseApplyAdagradV2
impl Debug for ResourceSparseApplyAdagradV2
source§impl Default for ResourceSparseApplyAdagradV2
impl Default for ResourceSparseApplyAdagradV2
source§fn default() -> ResourceSparseApplyAdagradV2
fn default() -> ResourceSparseApplyAdagradV2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ResourceSparseApplyAdagradV2
impl Send for ResourceSparseApplyAdagradV2
impl Sync for ResourceSparseApplyAdagradV2
impl Unpin for ResourceSparseApplyAdagradV2
impl UnwindSafe for ResourceSparseApplyAdagradV2
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