Embedded DL - newlife-js/Wiki GitHub Wiki
by ์์ธ๋ํ๊ต ํ์ํ ๊ต์๋
CNN Complexity
'# of MAC operations: fH x fW x N x (KxKxC)
'# of filter weights: K x K x C x N
CNN SW ์ต์ ํ
GEMM(GEneral Matrix Multiplication)
convolution์ matrix multiplication์ผ๋ก ๋ณํ
Winograd
vector๋ฅผ im2col ๋ณํ์ ํ ํ์ ์๋์ ๊ฐ์ ์์ผ๋ก convolution ๊ณ์ฐ
filter(g0, g1, g2)๋ ๊ณ ์ ๋์ด ์๊ธฐ ๋๋ฌธ์ ์๋ ์์ (g0+g1+g2)/2 ๋ฑ์ ์์ ํ ๋ฒ๋ง ๊ณ์ฐํ๋ฉด ๋จ(์ฌ์ฌ์ฉ)
Low Rank Approximation
ํฐ ํํฐ๋ฅผ ์ฌ๋ฌ ๊ฐ์ ์์ ํํฐ๋ก ๊ทผ์ฌํ๋ ๋ฐฉ๋ฒ
Tucker Decomposition
KxK ํฌ๊ธฐ์ ํํฐ x ํฐ ์์ input/output ์ฑ๋(Ci, Co)
-> 1x1 convolution์ ์ด์ฉํด์ KxK์ ํํฐ์ ์ฑ๋ ์(C'i, C'o)๋ฅผ ์ค์ด๋ ๋ฐฉ๋ฒ