triton.language.sigmoid

triton.language.sigmoid(x)

Computes the element-wise sigmoid of x.

Parameters:

x (Block) – the input values

This function can also be called as a member function on tensor, as x.sigmoid(...) instead of sigmoid(x, ...).