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