tfr.keras.utils.is_greater_equal_1

Stay organized with collections Save and categorize content based on your preferences.

Computes whether label is greater or equal to 1.

label A Tensor or anything that can be converted to a tensor using tf.convert_to_tensor.

A Tensor that has each input element transformed as x to I(x > 1).