数值计算函数的更新
tf.sub ——> tf.subtract
tf.mul ——> tf.multiply
tf.div ——> tf.divide
tf.mod ——> tf.truncatemod
tf.inv ——> tf.reciprocal
tf.list_diff ——> tf.setdiff1d
tf.listdiff ——> tf.setdiff1d
tf.neg ——> tf.negative
tf.select ——> tf.where
原文:https://www.cnblogs.com/gylhaut/p/10904470.html