pub enum PointwiseMode {
Show 21 variants
Relu,
Sigmoid,
Tanh,
Gelu,
GeluApprox,
Swish,
Elu,
Softplus,
Identity,
Add,
Mul,
Sub,
Div,
Min,
Max,
Sqrt,
Rsqrt,
Exp,
Log,
Neg,
Abs,
}Expand description
Pointwise op mode.
Variants§
Relu
Sigmoid
Tanh
Gelu
GeluApprox
Swish
Elu
Softplus
Identity
Add
Mul
Sub
Div
Min
Max
Sqrt
Rsqrt
Exp
Log
Neg
Abs
Trait Implementations§
Source§impl Clone for PointwiseMode
impl Clone for PointwiseMode
Source§fn clone(&self) -> PointwiseMode
fn clone(&self) -> PointwiseMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointwiseMode
impl Debug for PointwiseMode
Source§impl Hash for PointwiseMode
impl Hash for PointwiseMode
Source§impl PartialEq for PointwiseMode
impl PartialEq for PointwiseMode
impl Copy for PointwiseMode
impl Eq for PointwiseMode
impl StructuralPartialEq for PointwiseMode
Auto Trait Implementations§
impl Freeze for PointwiseMode
impl RefUnwindSafe for PointwiseMode
impl Send for PointwiseMode
impl Sync for PointwiseMode
impl Unpin for PointwiseMode
impl UnsafeUnpin for PointwiseMode
impl UnwindSafe for PointwiseMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more