Struct tensorflow::ops::StopGradient
source · 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.
sourcepub fn build<O0: Into<Output>>(
&self,
input: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, input: O0, scope: &mut Scope ) -> Result<Operation>
Builds the StopGradient
operation.
sourcepub fn build_instance(
&self,
input: Output,
scope: &mut Scope
) -> Result<StopGradientInst>
pub fn build_instance( &self, input: Output, scope: &mut Scope ) -> Result<StopGradientInst>
Builds a new instance of ‘StopGradient’ Operation with it’s Outputs and Inputs exposed as methods.
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 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