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