import tensorflow as tfnode1=tf.Variable(3.0,float32,name=”node1″)node2=tf.Variable(4.0,float32,name=”node2″)node3=tf.add(node1,node2)sess=tf.session()with sess.as_default():print(node3.eval())运行结果是什么
单选题
import tensorflow as tfnode1=tf.Variable(3.0,float32,name=”node1″)node2=tf.Variable(4.0,float32,name=”node2″)node3=tf.add(node1,node2)sess=tf.session()with sess.as_default():print(node3.eval())运行结果是什么