Patrick's examples developed while reading Gant Laborde's book “Learning TensorFlow.js”.
Use yarn once
to run an example once.
yarn once src/user-music-genre-rating
The js
file extension can be omitted, but you need to specify the directory (src
)
Use yarn watch
to run the examples in file watching mode. The specified script will run once, then again when any files are changed.
yarn watch src/user-music-genre-rating