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