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