transcranial / keras-js

Run Keras models in the browser, with GPU support using WebGL
https://transcranial.github.io/keras-js
MIT License
4.96k stars 501 forks source link

cannot suceed webpack #67

Closed y-ich closed 7 years ago

y-ich commented 7 years ago

Hi.

When I tried webpack, syntax errors occurred. For example, line 25 in PReLU.js. Certainly, I have never seen such method definition by substitution in ES2015 class.

Do I need to use some transcompiler?

Thanks.

y-ich commented 7 years ago

Sorry, I missed the instruction in README.md and had executed webpack directly. npm run build:browser works well.