Struct tensorflow::ops::PreventGradientInst
source · [−]pub struct PreventGradientInst {
pub op: Operation,
}
Expand description
An instance of ‘PreventGradient’ Operation with it’s Outputs and Inputs exposed as methods.
Fields
op: Operation
An instance of a fully built PreventGradient Operation in a Tensorflow graph.
Implementations
Trait Implementations
sourceimpl Clone for PreventGradientInst
impl Clone for PreventGradientInst
sourcefn clone(&self) -> PreventGradientInst
fn clone(&self) -> PreventGradientInst
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PreventGradientInst
impl Debug for PreventGradientInst
sourceimpl From<PreventGradientInst> for Operation
impl From<PreventGradientInst> for Operation
sourcefn from(inst: PreventGradientInst) -> Operation
fn from(inst: PreventGradientInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for PreventGradientInst
impl Send for PreventGradientInst
impl Sync for PreventGradientInst
impl Unpin for PreventGradientInst
impl UnwindSafe for PreventGradientInst
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more