12七、TensorFlow 计算图执行(二)

import tensorflow as tf # Define a placeholder that expects a vector of three floating-point values # and a computation that depends on it x = tf.placeholder(tf.float32, shape=[3]) y = tf.square(x) w
相关文章
相关标签/搜索