@ruvector/cnn 0.1.0
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/README.md +301 -0
- package/index.d.ts +164 -0
- package/index.js +266 -0
- package/package.json +50 -0
- package/ruvector_cnn_wasm.d.ts +204 -0
- package/ruvector_cnn_wasm.js +804 -0
- package/ruvector_cnn_wasm_bg.wasm +0 -0
- package/ruvector_cnn_wasm_bg.wasm.d.ts +39 -0
|
Binary file
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_embedderconfig_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_get_embedderconfig_embedding_dim: (a: number) => number;
|
|
6
|
+
export const __wbg_get_embedderconfig_input_size: (a: number) => number;
|
|
7
|
+
export const __wbg_get_embedderconfig_normalize: (a: number) => number;
|
|
8
|
+
export const __wbg_layerops_free: (a: number, b: number) => void;
|
|
9
|
+
export const __wbg_set_embedderconfig_embedding_dim: (a: number, b: number) => void;
|
|
10
|
+
export const __wbg_set_embedderconfig_input_size: (a: number, b: number) => void;
|
|
11
|
+
export const __wbg_set_embedderconfig_normalize: (a: number, b: number) => void;
|
|
12
|
+
export const __wbg_wasmcnnembedder_free: (a: number, b: number) => void;
|
|
13
|
+
export const __wbg_wasminfonceloss_free: (a: number, b: number) => void;
|
|
14
|
+
export const __wbg_wasmtripletloss_free: (a: number, b: number) => void;
|
|
15
|
+
export const embedderconfig_new: () => number;
|
|
16
|
+
export const layerops_batch_norm: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
17
|
+
export const layerops_global_avg_pool: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
18
|
+
export const simdops_dot_product: (a: number, b: number, c: number, d: number) => number;
|
|
19
|
+
export const simdops_l2_normalize: (a: number, b: number, c: number) => void;
|
|
20
|
+
export const simdops_relu: (a: number, b: number, c: number) => void;
|
|
21
|
+
export const simdops_relu6: (a: number, b: number, c: number) => void;
|
|
22
|
+
export const wasmcnnembedder_cosine_similarity: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
23
|
+
export const wasmcnnembedder_embedding_dim: (a: number) => number;
|
|
24
|
+
export const wasmcnnembedder_extract: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
25
|
+
export const wasmcnnembedder_new: (a: number, b: number) => void;
|
|
26
|
+
export const wasminfonceloss_forward: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
27
|
+
export const wasminfonceloss_new: (a: number) => number;
|
|
28
|
+
export const wasminfonceloss_temperature: (a: number) => number;
|
|
29
|
+
export const wasmtripletloss_forward: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
30
|
+
export const wasmtripletloss_forward_single: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
31
|
+
export const wasmtripletloss_margin: (a: number) => number;
|
|
32
|
+
export const wasmtripletloss_new: (a: number) => number;
|
|
33
|
+
export const init: () => void;
|
|
34
|
+
export const __wbg_simdops_free: (a: number, b: number) => void;
|
|
35
|
+
export const __wbindgen_export: (a: number, b: number, c: number) => void;
|
|
36
|
+
export const __wbindgen_export2: (a: number, b: number) => number;
|
|
37
|
+
export const __wbindgen_export3: (a: number, b: number, c: number, d: number) => number;
|
|
38
|
+
export const __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
39
|
+
export const __wbindgen_start: () => void;
|