tf.keras.ops.signbit

Return the sign bit of the elements of x.

The output boolean tensor contains True where the sign of x is negative, and False otherwise.

x Input tensor.

Output boolean tensor of same shape as x.