pub struct ResourceSparseApplyKerasMomentum { /* private fields */ }
Expand description
Builder for the ResourceSparseApplyKerasMomentum
operation.
Implementations§
Source§impl ResourceSparseApplyKerasMomentum
impl ResourceSparseApplyKerasMomentum
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 Default for ResourceSparseApplyKerasMomentum
impl Default for ResourceSparseApplyKerasMomentum
Source§fn default() -> ResourceSparseApplyKerasMomentum
fn default() -> ResourceSparseApplyKerasMomentum
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResourceSparseApplyKerasMomentum
impl RefUnwindSafe for ResourceSparseApplyKerasMomentum
impl Send for ResourceSparseApplyKerasMomentum
impl Sync for ResourceSparseApplyKerasMomentum
impl Unpin for ResourceSparseApplyKerasMomentum
impl UnwindSafe for ResourceSparseApplyKerasMomentum
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