人工智能實踐:Tensorflow筆記(一)

import tensorflow as tf a=tf.constant([1.0,2.0]) b=tf.constant([3.0,4.0]) result=a+b print(result) #Tensor("add:0", shape=(2,), dtype=float32) import tensorflow as tf a=tf.constant([[1.0,2.0]]) #定義一個2
相關文章
相關標籤/搜索