triton.language.log2

triton.language.log2(x, _semantic=None)

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

参数:

x (Block) – 输入值