@mineproness/tensorloop 1.4.3 → 1.4.5

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/index.js CHANGED
@@ -10,6 +10,7 @@ import {SelfAttention as ST} from './src/SelfAttention/index.js'
10
10
  import {GELU as GU} from './src/GELU/index.js'
11
11
  import {FFN as ffn} from './src/FFN/index.js'
12
12
  import {LayerNorm as LN} from './src/LayerNorm/index.js'
13
+ import { TransformerBlock as TB} from './src/TransformerBlock/index.js'
13
14
  export const Tokenizer = tokenizer
14
15
  export const Embedding = embeddding2
15
16
  export const Linear = li2
@@ -21,4 +22,5 @@ export const PositionEmbedding = PE
21
22
  export const SelfAttention = ST
22
23
  export const GELU = GU
23
24
  export const FFN = ffn
24
- export const LayerNorm = LN
25
+ export const LayerNorm = LN
26
+ export const TransformerBlock = TB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mineproness/tensorloop",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "The most powerfull Machine Learning Library for AI.",
5
5
  "keywords": [
6
6
  "ai",
@@ -78,7 +78,7 @@ export class TransformerBlock {
78
78
  return dInput
79
79
  }
80
80
  clearInputCache() {
81
- this.ffn.clearInputCache()
81
+ this.ffn.ClearInputCache()
82
82
  this.selfAttention.key.ClearInputCache()
83
83
  this.selfAttention.query.ClearInputCache()
84
84
  this.selfAttention.value.ClearInputCache()