forked from intel/Deep-learning-math-kernel-research
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNOTATION
45 lines (42 loc) · 1.24 KB
/
NOTATION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Naming conventions
==================
Files, functions, classes:
eld: descriptor
elx: exection functoin (stateless)
elk: kernel function (stateless)
elt: test
Numbering:
Cardinal number
// dimension (plain)
n, ic, oc, ih, iw, oh, ow, kh, kw, t
// blocked dimension
ic2, oc2, ih2, iw2, oh2, ow2, t2 // blocked
ic3, oc3, t3, ... // 2nd level blocked
// blocking unit, normally IV = OV = I = O
V, A, T
// 2nd/3rd level blocking unit
I2, O2, I3, O3
Ordinal number
// dimension
_n, _ic, _oc, _ih, _iw, _oh, _ow, _kh, _kw, ...
// blocked dimension
_ic2, _oc2, _ih2, _iw2, _oh2, _ow2, _t2 // blocked
_ic3, _oc3, _t3, ... // 2nd level blocked
// blocking unit
_V, _T, _IV, _OV, _hA, _wA
// 2nd/3rd level blocking unit
_I2, _O2, _I3, _O3
template:
T: typename
V: vector-size
A: tile-size
K: kernel-size
Tensor:
// pointer type
input, output, weights, bias
// md-array
ainput, aoutput, aweights
// tensor for transform (from or to)
tinput, toutput, tweights
// transformed md-array
atinput, atoutput, atweights