learn-tfjs
learn-tfjs copied to clipboard
The code for the book Learning TensorFlow.js by Gant Laborde - Published by O'Reilly Media
https://github.com/GantMan/learn-tfjs/blob/0c0dbc8e5404c0fe57e3f03a89141e9efd49e90a/chapter12/node/node-dice-data/src/index.js#L60 Aren't you creating a new rank 2 Tensor filled with 1 everywhere instead of copying and shading an existing dice ?
Today I did `gh repo clone GantMan/learn-tfjs` I did `npm i` at chapter2/web/web-toxicity http://localhost:1234/ shows : `Uncaught (in promise) TypeError: forwardFunc is not a function`
When trying to install node dependencies, specifically concerning `tfjs-node`, there seems to be an issue. This may be specific to my system, as I'm running Apple silicon, but essentially what...
Does anyone have any issues running [this](https://github.com/GantMan/learn-tfjs/blob/master/chapter2/node/node-toxicity/src/index.js) now ? ``` Some errorTypeError: forwardFunc_1 is not a function node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */); ```