File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 3
3
This repository contains a set of examples implemented in
4
4
[ TensorFlow.js] ( http://js.tensorflow.org ) .
5
5
6
- Each example directory is completely standalone so you can copy the directory
6
+ Each example directory is standalone so the directory can be copied
7
7
to another project.
8
8
9
9
## How to build an example
10
-
11
- To build an example, first ` cd ` into the directory and run ` yarn ` to install
12
- the dependencies of the example, and ` yarn watch ` to build it, for example:
10
+ ` cd ` into the directory, run ` yarn ` to install
11
+ the dependencies of the example, and ` yarn watch ` to build it. For example:
13
12
14
13
``` sh
15
14
cd mnist-core
@@ -22,8 +21,7 @@ yarn watch
22
21
The convention is that each example contains two scripts:
23
22
24
23
- ` yarn watch ` : starts a local development HTTP server which watches the
25
- filesystem for changes so you can edit the code (JS or HTML) and immediately
26
- see changes when you refresh the page.
24
+ filesystem for changes so you can edit the code (JS or HTML) and see changes when you refresh the page immediately.
27
25
28
26
- ` yarn build ` : generates a ` dist/ ` folder which contains the build artifacts and
29
27
can be used for deployment.
You can’t perform that action at this time.
0 commit comments