人工智能深度学习入门练习之(6)求和方法2
时间:2020-06-16 16:47:23
收藏:0
阅读:42
代码实现:
import tensorflow as tf assert tf.__version__.startswith(‘2.‘) a=tf.constant(2.) b=tf.constant(4.) print(f‘{a}+{b}={a+b}‘)
执行结果:

原文:https://www.cnblogs.com/huanghanyu/p/13141374.html
评论(0)