Struct prophet::activation_fn::BaseFn
[−]
[src]
pub struct BaseFn<T: Float> { /* fields omitted */ }
Represents the base function part of an activation function pair.
Trait Implementations
impl<T: Copy + Float> Copy for BaseFn<T>
[src]
impl<T: Clone + Float> Clone for BaseFn<T>
[src]
fn clone(&self) -> BaseFn<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Debug + Float> Debug for BaseFn<T>
[src]
impl<T: PartialEq + Float> PartialEq for BaseFn<T>
[src]
fn eq(&self, __arg_0: &BaseFn<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BaseFn<T>) -> bool
This method tests for !=
.
impl<T: Float> From<fn(_: T) -> T> for BaseFn<T>
[src]
fn from(fn_ptr: fn(_: T) -> T) -> Self
Performs the conversion.