tf.keras.ops.log2

Base-2 logarithm of x, element-wise.

Main aliases

tf.keras.ops.numpy.log2

x Input tensor.

Output tensor, element-wise base-2 logarithm of x.