首頁>Club>
13
回覆列表
  • 1 # 喬國良111222

    基本使用 使用 TensorFlow, 你必須明白 TensorFlow: 使用圖 (graph) 來表示計算任務. 在被稱之為 會話 (Session) 的上下文 (context) 中執行圖. 使用 tensor 表示資料. 透過 變數 (Variable) 維護狀態. 使用 feed 和 fetch 可以為任意的操作

  • 2 # 使用者4691955236311

    1.Tensor是什麼?

    在 TensorFlow 中,資料不是以整數,浮點數或者字串形式存在的,而是被封裝在一個叫做 tensor 的物件中。Tensor是張量的意思,張量包含了0到任意維度的量,其中,0維的叫做常數,1維的叫做向量,二維叫做矩陣,多維度的就直接叫張量量。在 hello_constant = tf.constant(‘Hello World!’) 程式碼中,hello_constant是一個 0 維度的字串 tensor,tensors 還有很多不同大小:

    # tensor1 是一個0維的 int32 tensor

    tensor1 = tf.constant(1234)

    # tensor2 是一個1維的 int32 tensor

    tensor2 = tf.constant([123,456,789])

  • 中秋節和大豐收的關聯?
  • 歌詞第一句是:“愛那麼甜那麼黏我的…”請問是什麼歌名來的?