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