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