Skip to main content

//clika-runtime/io.clika.runtime/Ops/log2

log2

[common]
fun log2(input: Tensor): Tensor

log2(input: Tensor): the log2 operator. Elementwise base-2 logarithm. Zero produces -inf; negative inputs produce NaN. Value-domain violations follow IEEE semantics (NaN / ±inf in the result), never an error.