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