Struct tensorflow::ops::AccumulatorTakeGradientInst
source · pub struct AccumulatorTakeGradientInst {
pub op: Operation,
}
Expand description
An instance of ‘AccumulatorTakeGradient’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built AccumulatorTakeGradient Operation in a Tensorflow graph.
Implementations§
source§impl AccumulatorTakeGradientInst
impl AccumulatorTakeGradientInst
sourcepub fn average(&self) -> Output
pub fn average(&self) -> Output
Returns the ‘average’ Output of this ‘AccumulatorTakeGradient’ operation.
sourcepub fn handle(&self) -> Input<'_>
pub fn handle(&self) -> Input<'_>
Returns the ‘handle’ Input of this ‘AccumulatorTakeGradient’ operation.
sourcepub fn num_required(&self) -> Input<'_>
pub fn num_required(&self) -> Input<'_>
Returns the ‘num_required’ Input of this ‘AccumulatorTakeGradient’ operation.
Trait Implementations§
source§impl Clone for AccumulatorTakeGradientInst
impl Clone for AccumulatorTakeGradientInst
source§fn clone(&self) -> AccumulatorTakeGradientInst
fn clone(&self) -> AccumulatorTakeGradientInst
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 AccumulatorTakeGradientInst
impl Debug for AccumulatorTakeGradientInst
source§impl From<AccumulatorTakeGradientInst> for Operation
impl From<AccumulatorTakeGradientInst> for Operation
source§fn from(inst: AccumulatorTakeGradientInst) -> Operation
fn from(inst: AccumulatorTakeGradientInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AccumulatorTakeGradientInst
impl Send for AccumulatorTakeGradientInst
impl Sync for AccumulatorTakeGradientInst
impl Unpin for AccumulatorTakeGradientInst
impl UnwindSafe for AccumulatorTakeGradientInst
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