问题描述
/
中的 tf.divide
操作和 tensorflow2
有什么区别。
例如
a = tf.constant([1,2,3],dtype='float32')
b = tf.constant([1,dtype='float32')
# 1) `/`
result = a/b
# 2) `tf.divide`
result = tf.divide(a,b)
我可以得到这样的两个结果:
使用 /
而不是 tf.divide
时性能会下降吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)