triton.language.log2

triton.language.log2(x)

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

参数:

x (Block) – 输入值