代码 #!/usr/bin/env python # -*- encoding: utf-8 -*- """ @Introduce : 加法运算 @File : demo_add.py @Time : 2021-03-05 15:10 @Author : xia hua dong @Tel : 173 179 76823 @Email : 17317976823@163.com @pip : pip install tensorflow-gpu """ import tensorflow as tf a = tf.constant(2, name="input_a") b = tf