Skip to content

Commit

Permalink
Removed babel transpilation
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRuta committed Dec 30, 2017
1 parent 76bdb1d commit c7052ab
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 876 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Upcoming - 3.0 - WebAssembly
---
- jsNet version 1.5 feature parity
- Global bug fixes
- Removed babel transpilation (it's 2018)

# 2.1.0 - Optimizations
---
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ The usual arrangement of layers would folow something like this:
In words, an FCLayer, maybe followed by pairs of Conv and (optional) Pool layers (starting with Conv), and at the end, at least one FCLayer.
The first FCLayer needs to have as many neurons in it as there are data points per iteration, and the last FCLayer needs to have as many neurons as there are classes for your data set.

When building a convolutional network, make sure that the number of neurons in the FC layer following a Conv or Pool layer matches the number of outgoing activations in the layer preceding it. See below for a tip on easily calculating that number.

### Training
----

Expand Down Expand Up @@ -450,7 +452,7 @@ Check the changelog to see the history of added features.
The next big feature will be WebAssembly support. This will arive in version 3.0, after some more testing is done on the existing beta version. You can keep track of progress on the dev branch.

##### Long term
Once that is done, I will be experimenting with some further, equally effective optimizations.
Once that is done, I will be experimenting with WebGL shaders to run computations on the GPU.

## Contributing
---
Expand Down
4 changes: 0 additions & 4 deletions dist/appWASM.js

This file was deleted.

Binary file removed dist/appWASM.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/jsNetWebAssembly.min.js.map

Large diffs are not rendered by default.

16 changes: 2 additions & 14 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ module.exports = function(grunt){
}
},

babel: {
options: {
presets: ["es2015", "stage-3"]
},
dist: {
files: {
"dist/jsNet.min.js": ["dist/jsNet.concat.js"]
}
}
},

uglify: {
my_target: {
options: {
Expand Down Expand Up @@ -52,7 +41,7 @@ module.exports = function(grunt){
},
js: {
files: ["dev/js/*.js"],
tasks: ["concatNoWebAssembly", "babel", "uglify"]
tasks: ["concatNoWebAssembly", "uglify"]
},
wa: {
files: ["dev/js-WebAssembly/*.js"],
Expand All @@ -76,10 +65,9 @@ module.exports = function(grunt){
}
})

grunt.loadNpmTasks("grunt-babel")
grunt.loadNpmTasks("grunt-contrib-watch")
grunt.loadNpmTasks('grunt-contrib-concat')
grunt.loadNpmTasks('grunt-contrib-uglify')
grunt.loadNpmTasks('grunt-contrib-uglify-es')
grunt.loadNpmTasks('grunt-text-replace')
grunt.loadNpmTasks("grunt-exec")

Expand Down
Loading

0 comments on commit c7052ab

Please sign in to comment.