Struct tensorflow::ops::SparseApplyMomentum
source · pub struct SparseApplyMomentum { /* private fields */ }
Expand description
Builder for the SparseApplyMomentum
operation.
Implementations§
source§impl SparseApplyMomentum
impl SparseApplyMomentum
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 use_nesterov<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn use_nesterov<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the use_nesterov
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 SparseApplyMomentum
impl Debug for SparseApplyMomentum
source§impl Default for SparseApplyMomentum
impl Default for SparseApplyMomentum
source§fn default() -> SparseApplyMomentum
fn default() -> SparseApplyMomentum
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SparseApplyMomentum
impl Send for SparseApplyMomentum
impl Sync for SparseApplyMomentum
impl Unpin for SparseApplyMomentum
impl UnwindSafe for SparseApplyMomentum
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