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