Slide 19
Slide 19 text
Direct Algorithm: 定義通りの計算
O[:, :, :, :] = 0
for n = 0..N-1
for y = 0..H-1
for x = 0..W-1
for cout = 0..Cout-1
for fy = 0..FH-1
for fx = 0..FW-1
for cin = 0..Cin-1
O[n, y, x, cout] += I[n, y+fy, x+fx, cin] * W[cout, cin, fy, fx]
O[n, y, x, cout] += b[cout]
, , ,
=
=0
−1
=0
−1
=0
−1
, +
, +
,
[
,
,
,
] + [
]