triton.experimental.gluon.language.log

triton.experimental.gluon.language.log(x, _semantic=None)

Computes the element-wise natural logarithm of x.

Parameters:

x (Block) – the input values

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