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
相關文章
相關標籤/搜索