TensorFlow.js is a library for building and executing machine learning algorithms in JavaScript. TensorFlow.js models run in a web browser and in the Node.js environment. The library is part of the TensorFlow ecosystem, providing a set of APIs that are compatible with those in Python, allowing models to be ported between the Python and JavaScript ecosystems. TensorFlow.js has empowered a new set of developers from the extensive JavaScript community to build and deploy machine learning models and enabled new classes of on-device computation. This paper describes the design, API, and implementation of TensorFlow.js, and highlights some of the impactful use cases.
翻译:TensorFlow.js是JavaScript. TensorFlow.js 在网络浏览器和Node.js环境中运行的模型的图书馆,它是TensorFlow生态系统的一部分,提供一套与Python生态系统相容的API,使模型能够移植在Python和JavaScript生态系统之间。TensorFlow.js授权了来自广泛的 JavaScript 社区的一组新的开发者建立和部署机器学习模型,并启用了新型的在设备上计算。本文描述了TensorFlow.js的设计、API和实施情况,并突出了一些影响性使用案例。