Trait Softmax

Source
pub trait Softmax {
    type Output;

    // Required method
    fn softmax(&self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn softmax(&self) -> Self::Output

Implementations on Foreign Types§

Source§

impl<A, S, D> Softmax for ArrayBase<S, D>
where A: Float + ScalarOperand, S: Data<Elem = A>, D: Dimension,

Source§

type Output = ArrayBase<OwnedRepr<A>, D>

Source§

fn softmax(&self) -> Self::Output

Implementors§