# logSoftmax

`import { logSoftmax } from "destack:tensor";`

Return log-softmax over one axis.

```ds title="logSoftmax"
export function logSoftmax<T: Float, const Rank: usize>(tensor: Tensor<T, Rank>, options: SoftmaxOptions<T, Rank>): Tensor<T, Rank>
```

[language/library/src/tensor/neural.ds:72:77](https://github.com/destack-sh/destack/blob/main/language/library/src/tensor/neural.ds#L72-L77)
