codecamp

TensorFlow函数教程:tf.keras.backend.greater

tf.keras.backend.greater函数

tf.keras.backend.greater(
    x,
    y
)

定义在:tensorflow/python/keras/backend.py。

逐个元素比对 (x > y) 的真值。

参数:

  • x:张量或变量。
  • y:张量或变量。

返回:

返回一个布尔张量。

TensorFlow函数教程:tf.keras.backend.gradients
TensorFlow函数教程:tf.keras.backend.greater_equal
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定