Struct tensorflow::ops::Softsign
source · [−]pub struct Softsign { /* private fields */ }
Expand description
Builder for the Softsign
operation.
Implementations
sourceimpl Softsign
impl Softsign
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 Softsign
operation.
sourcepub fn build_instance(
&self,
features: Output,
scope: &mut Scope
) -> Result<SoftsignInst>
pub fn build_instance(
&self,
features: Output,
scope: &mut Scope
) -> Result<SoftsignInst>
Builds a new instance of ‘Softsign’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Softsign
impl Send for Softsign
impl Sync for Softsign
impl Unpin for Softsign
impl UnwindSafe for Softsign
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more