We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e96480e commit 358a429Copy full SHA for 358a429
package.json
@@ -67,7 +67,7 @@
67
"eslint-loader": "^1.6.1",
68
"eslint-plugin-import": "^2.2.0",
69
"eslint-plugin-jsx-a11y": "^2.2.3",
70
- "eslint-plugin-lodash": "^2.2.3",
+ "eslint-plugin-lodash": "^2.2.4",
71
"eslint-plugin-react": "^6.8.0",
72
"gh-pages": "^0.12.0",
73
"gulp": "^3.9.0",
src/Layer.js
@@ -57,10 +57,7 @@ class Layer {
57
* @returns {number[]} - Array of Neuron output values.
58
*/
59
activate(values = []) {
60
- /* eslint-disable lodash/prefer-invoke-map */
61
- // https://github.com/wix/eslint-plugin-lodash/issues/128
62
return _.map(this.neurons, (neuron, i) => neuron.activate(values[i]))
63
- /* eslint-enable lodash/prefer-invoke-map */
64
}
65
66
/**
0 commit comments