Skip to main content

log_softmax_3d

Function log_softmax_3d 

Source
pub fn log_softmax_3d(logits: &[Vec<Vec<f64>>]) -> Vec<Vec<Vec<f64>>>
Expand description

Numerically stable log-softmax over the last axis. Input / output shape: [B][M][|V|].