Skip to content

Commit

Permalink
add default export
Browse files Browse the repository at this point in the history
  • Loading branch information
transcranial committed Jan 2, 2018
1 parent 1088ba7 commit 82ec022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "keras-js",
"version": "1.0.0",
"version": "1.0.1",
"description": "Run Keras models in the browser, with GPU support using WebGL",
"main": "lib/index.js",
"unpkg": "dist/keras.min.js",
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ import * as testUtils from './utils/testUtils'
const GPU_SUPPORT = webgl2.isSupported

export { Model, Tensor, GPU_SUPPORT, activations, layers, testUtils }

const KerasJS = { Model, Tensor, GPU_SUPPORT, activations, layers, testUtils }
export { KerasJS as default }

0 comments on commit 82ec022

Please sign in to comment.