@imaduddin/fastbrain 1.0.5 → 1.0.6

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": "@imaduddin/fastbrain",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Raw-JAVASCRIPT Based Matirx and AI LLM Package called fastBrain.",
5
5
  "keywords": [
6
6
  "ai",
@@ -22,5 +22,5 @@ export class Softmax {
22
22
  isDestroyed: function(): Boolean,
23
23
  destroy: function(): void
24
24
  }>
25
- async crossEntropy(probs: GPUBuffer, target: number[]): Promise<{ loss: Function, acc: Function, clear : Function }>
25
+ async crossEntropy(probs: GPUBuffer, target: number[]): Promise<{ loss: Function, acc: Function }>
26
26
  }
@@ -39,5 +39,5 @@ export class model {
39
39
  isDestroyed: function(): Boolean,
40
40
  destroy: function(): void
41
41
  }, target: number[], lr : number)
42
- async Save() : Promise<void>
42
+ async Save() : Promise<{ loss: Function, acc: Function }>
43
43
  }