Getting Started
Python API
softmax()
Triton MLIR Dialects
Programming Guide
Computes the element-wise softmax of x.
x
x (Block) – the input values
This function can also be called as a member function on tensor, as x.softmax(...) instead of softmax(x, ...).
tensor
x.softmax(...)
softmax(x, ...)