TensorFlow.js 是可用 JavaScript 開發機器學習的程式庫
以 JavaScript 開發機器學習模型,並直接在瀏覽器或 Node.js 中使用機器學習。
運作方式
執行現有模型
使用現成的 JavaScript 模型或轉換 Python TensorFlow 模型,以便在瀏覽器作業或利用 Node.js 執行。
重新訓練現有模型
使用你自己的資料,重新訓練現有的機器學習模型。
以 JavaScript 開發機器學習
透過彈性且操作直覺的 API,直接使用 JavaScript 建構及訓練模型。
示範
How Adobe used Web ML with TensorFlow.js to enhance Photoshop for web
Photoshop Web Beta is a browser-based version of the popular desktop image editing software, Adobe Photoshop. This online tool offers a wide range of features and capabilities for editing, enhancing, and manipulating images, all through a web
TensorFlow
2023年3月30日
Content moderation using machine learning: the server-side part
cd text - moderation / functions const functions = require ( 'firebase-functions' ); const toxicity = require ( '@tensorflow-models/toxicity' ); exports. moderator = functions. database. ref ( '/messages/{messageId}' ). onCreate ( async ( snapshot,
TensorFlow
2022年9月8日
JAX on the Web with TensorFlow.js
In this blog post we demonstrate how to convert and run Python-based JAX functions and Flax machine learning models in the browser using TensorFlow.js. We have produced three examples of JAX-to-TensorFlow.js conversion each with increasing
TensorFlow
2022年8月31日
Content moderation using machine learning: a dual approach
I've often wondered why anonymity drives people to say things that they'd never dare say in person, and it’s unfortunate that comment sections for videos and articles are so often toxic! If you’re interested in content moderation, you can use machine
TensorFlow
2022年8月19日