摘要: tf.where语句 tf.where(条件语句,真返回A,假返回B) import tensorflow as tf a = tf.constant([1,2,3,4,5,6,7]) b = tf.constant([2,3,4,6,7,89,8]) c = tf.where(tf.greater 阅读全文
posted @ 2021-01-11 19:44 yangqqq 阅读(80) 评论(0) 推荐(0) 编辑