triton.language.log2

triton.language.log2(x)

计算x的逐元素对数(以2为底)。

Parameters:

x (Block) – 输入值