Struct tensorflow::ops::AccumulatorTakeGradient
source · pub struct AccumulatorTakeGradient { /* private fields */ }
Expand description
Builder for the AccumulatorTakeGradient
operation.
Implementations§
source§impl AccumulatorTakeGradient
impl AccumulatorTakeGradient
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
handle: O0,
num_required: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, handle: O0, num_required: O1, scope: &mut Scope ) -> Result<Operation>
Builds the AccumulatorTakeGradient
operation.
sourcepub fn build_instance(
&self,
handle: Output,
num_required: Output,
scope: &mut Scope
) -> Result<AccumulatorTakeGradientInst>
pub fn build_instance( &self, handle: Output, num_required: Output, scope: &mut Scope ) -> Result<AccumulatorTakeGradientInst>
Builds a new instance of ‘AccumulatorTakeGradient’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for AccumulatorTakeGradient
impl Debug for AccumulatorTakeGradient
source§impl Default for AccumulatorTakeGradient
impl Default for AccumulatorTakeGradient
source§fn default() -> AccumulatorTakeGradient
fn default() -> AccumulatorTakeGradient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AccumulatorTakeGradient
impl Send for AccumulatorTakeGradient
impl Sync for AccumulatorTakeGradient
impl Unpin for AccumulatorTakeGradient
impl UnwindSafe for AccumulatorTakeGradient
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