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§
source§impl Clone for PreventGradientInst
impl Clone for PreventGradientInst
source§fn clone(&self) -> PreventGradientInst
fn clone(&self) -> PreventGradientInst
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 PreventGradientInst
impl Debug for PreventGradientInst
source§impl From<PreventGradientInst> for Operation
impl From<PreventGradientInst> for Operation
source§fn 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§
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