[go: up one dir, main page]

Skip to content

caisq/tfjs-examples-1

 
 

Repository files navigation

TensorFlow.js Examples

This repository contains a set of examples implemented in TensorFlow.js.

Each example directory is standalone so the directory can be copied to another project.

How to build an example

cd into the directory, run yarn to install the dependencies of the example, and yarn watch to build it. For example:

cd mnist-core
yarn
yarn watch

Details

The convention is that each example contains two scripts:

  • yarn watch: starts a local development HTTP server which watches the filesystem for changes so you can edit the code (JS or HTML) and see changes when you refresh the page immediately.

  • yarn build: generates a dist/ folder which contains the build artifacts and can be used for deployment.

Contributing

If you want to contribute an example, please reach out to us on Github issues before sending us a pull request as we are trying to keep this set of examples small and highly curated.

About

Examples built with TensorFlow.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.8%
  • SCSS 15.7%
  • CSS 14.8%
  • HTML 7.7%
  • TypeScript 5.0%
  • Python 3.1%
  • Shell 1.9%