This repository contains a set of examples implemented inTensorFlow.js.
Each example directory is completely standalone so you can copy the directoryto another project.
To build an example, first
cd into the directory and run
yarn to installthe dependencies of the example, and
yarn watch to build it, for example:
shcd mnist-coreyarnyarn watch
The convention is that each example contains two scripts:
yarn watch: starts a local development HTTP server which watches thefilesystem for changes so you can edit the code (JS or HTML) and immediatelysee changes when you refresh the page.
yarn build: generates a
dist/ folder which contains the build artifacts andcan be used for deployment.
If you want to contribute an example, please reach out to us onGithub issuesbefore sending us a pull request as we are trying to keep this set of examplessmall and highly curated.
git clone tensorflow-tfjs-examples_-_2018-04-01_16-57-06.bundle