@mineproness/tensorloop 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mineproness/tensorloop",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "The most powerfull Machine Learning Library for AI.",
5
5
  "keywords": [
6
6
  "ai",
@@ -55,7 +55,7 @@ export class Linear {
55
55
  }
56
56
  return output
57
57
  }
58
- backward(outputGradient, learningRate) {
58
+ backward(outputGradient, learningRate, idx) {
59
59
  const input = this.input[idx];
60
60
  const weights = this.Weights
61
61
  const inputGradient = new Float32Array(input.length)