LogSoftmaxΒΆ
Applies the LogSoftmax function to an n-dimensional input Tensor.
Abstract Signature:
LogSoftmax(input: Tensor, dim: int = -1)
Apple MLX
API:
mlx.nn.layers.activations.LogSoftmaxStrategy: Macro 'mlx.core.log(mlx.core.softmax({input}, axis={dim}))'