Mojo module
softmax
Functionsβ
- β
identity: - β
logsoftmax: - β
mul: - β
reciprocal: - β
reduce_add_simd: This functions adds val to either the scalar value or the vector value depending on the step_simd_width. This is useful when the simd_width varies between iterations as in vectorize. - β
softmax: - β
softmax_2_pass: Performs an unbatched softmax on an input tensor using the two-pass online algorithm. - β
softmax_3_pass: Performs an unbatched softmax on an input tensor using the three-pass algorithm. - β
softmax_kernel: - β
softmax_with_temperature: GPU softmax with per-row temperature scaling. - β
sub:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!