pub struct SoftmaxParams {
pub input_scale: i32,
pub diff_min: i32,
}Expand description
Parameters for Softmax operation.
Fields§
§input_scale: i32Input scale for fixed-point exponential calculation.
diff_min: i32Minimum input difference threshold.
Trait Implementations§
Source§impl Clone for SoftmaxParams
impl Clone for SoftmaxParams
Source§fn clone(&self) -> SoftmaxParams
fn clone(&self) -> SoftmaxParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SoftmaxParams
Source§impl Debug for SoftmaxParams
impl Debug for SoftmaxParams
impl Eq for SoftmaxParams
Source§impl PartialEq for SoftmaxParams
impl PartialEq for SoftmaxParams
impl StructuralPartialEq for SoftmaxParams
Auto Trait Implementations§
impl Freeze for SoftmaxParams
impl RefUnwindSafe for SoftmaxParams
impl Send for SoftmaxParams
impl Sync for SoftmaxParams
impl Unpin for SoftmaxParams
impl UnsafeUnpin for SoftmaxParams
impl UnwindSafe for SoftmaxParams
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