跳轉到內容

Tensorflow.js

來自華夏公益教科書

TensorFlow.js 簡介

[編輯 | 編輯原始碼]
  1. TensorFlow.js 是一個 JavaScript 庫,用於在瀏覽器或 Node.js 上訓練和部署機器學習模型。它提供了一個高階 API 用於構建和訓練模型,以及用於視覺化和除錯模型的工具。TensorFlow.js 建立在 TensorFlow 之上,TensorFlow 是一個功能強大且廣泛使用的 Python 機器學習庫。使用 TensorFlow.js,開發人員可以在 JavaScript 中使用與在 Python 中使用相同的模型和技術,從而輕鬆地在 Web 和 Node.js 環境中構建和部署機器學習應用程式。

設定 TensorFlow.js 專案

[編輯 | 編輯原始碼]

張量的基本操作

[編輯 | 編輯原始碼]

構建和訓練模型

[編輯 | 編輯原始碼]

TensorFlow.js 中的卷積神經網路 (CNN)

[編輯 | 編輯原始碼]

TensorFlow.js 中的迴圈神經網路 (RNN)

[編輯 | 編輯原始碼]

TensorFlow.js 中的遷移學習

[編輯 | 編輯原始碼]

視覺化和除錯模型

[編輯 | 編輯原始碼]

將模型部署到 Web 和 Node.js

[編輯 | 編輯原始碼]

結論和更多資源

[編輯 | 編輯原始碼]
華夏公益教科書