ChengZ-RigpaAI commited on
Commit
eb30794
·
verified ·
1 Parent(s): 863b190

Add files using upload-large-folder tool

Browse files
Files changed (1) hide show
  1. README.md +28 -0
README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # README
2
+
3
+ - MXINT8 dot product
4
+ ```python
5
+ # sum(a .* b), dot product
6
+ # a.shape: [m]
7
+ # b.shape: [m]
8
+ # output.shape: scalar
9
+ output = dot_product(a, b)
10
+ ```
11
+
12
+ - MXINT8 vector-matrix multiplication
13
+ ```python
14
+ # vector @ matrix, vector-matrix multiplication
15
+ # vector.shape: [m]
16
+ # matrix.shape: [m, k]
17
+ # output.shape: [k]
18
+ output = gevm(vector, matrix)
19
+ ```
20
+
21
+ - MXINT8 matrix-matrix multiplication
22
+ ```python
23
+ # input @ other, matrix-matrix multiplication
24
+ # input.shape: [m, k]
25
+ # other.shape: [k, n]
26
+ # output.shape: [m, n]
27
+ output = gemm(input, other)
28
+ ```