1.0 TensorFlow graphs Tensorflow是基于graph based computation: 如: a=(b+c)∗(c+2) 可分解为 d=b+c e=c+2 a=d∗e 这样做的目的在于,d=b+c,e=c+2,这两个式子就可以并行地计算. 2.0 A Simple TensorFlow example import tensorflow as tf # first, create a TensorFlow constant const = tf.constant(…