Skip to main content

//clika-runtime/io.clika.runtime/Ops/frexp

frexp

[common]
fun frexp(input: Tensor): List<Tensor>

frexp(input: Tensor): the frexp operator. Decomposes each element into mantissa * 2^exponent with |mantissa| in [0.5, 1). Floating-point inputs only. The mantissa keeps the input's dtype (Float32 for the bit-packed sub-byte float formats, whose value grids cannot hold the mantissa range); the exponent is Int32.