Skip to main content
softmax
zsfm_
core
0.3.1
zsfm_core
Function
softmax
Copy item path
Source
pub fn softmax(logits: &[
f32
]) ->
Vec
<
f32
>
Expand description
Numerically stable softmax over host
f32
logits.