Struct tensorflow::ops::StopGradientInst
source · pub struct StopGradientInst {
pub op: Operation,
}
Expand description
An instance of ‘StopGradient’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built StopGradient Operation in a Tensorflow graph.
Implementations§
Trait Implementations§
source§impl Clone for StopGradientInst
impl Clone for StopGradientInst
source§fn clone(&self) -> StopGradientInst
fn clone(&self) -> StopGradientInst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StopGradientInst
impl Debug for StopGradientInst
source§impl From<StopGradientInst> for Operation
impl From<StopGradientInst> for Operation
source§fn from(inst: StopGradientInst) -> Operation
fn from(inst: StopGradientInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for StopGradientInst
impl Send for StopGradientInst
impl Sync for StopGradientInst
impl Unpin for StopGradientInst
impl UnwindSafe for StopGradientInst
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