Installation
Development
High-level design
Python API (PyAsc2)
log2()
Python API (PyAsc)
MLIR
Computes the element-wise logarithm (base 2) of input.
input
input – the input value (tile)
This function can also be called as a member function on Tile, as x.log2(...) instead of log2(x, ...).
Tile
x.log2(...)
log2(x, ...)