Properties Proof of CNN Operation

milkbuttercheese·2023년 1월 26일
0

기타수학

목록 보기
2/8

Properties Proof of CNN Operation

  • (아직 생각중! 23.01.26)
  • max-pooling
  • Notation
    - let * be convolutional operator
    - let p*_{p} be pooling operator
    - let iw,ihi _{w},i _{h} be width of input, height of output
    - let kw,khk _{w},k _{h} be width of kernel and height of kernel respectively
    - let sw,shs _{w},s _{h} be width of stride, height of stride respectively
    - let XMih+2ph,iw+2pw\boldsymbol{X}' \in \mathcal{M}_{i _{h}+2p _{h}, i _{w}+2p _{w}} [X]i+ph,j+pw=[X]i,j[\boldsymbol{X}']_{i+p _{h},j+p _{w}}=[\boldsymbol{X}]_{i,j} if iphi \ge p _{h} and jpwj \ge p _{w} else 0

Definition

  • Convolution
    • [O]i,j,d=[KI]i,j,d=α=0kh1β=0kw1γ=0c1[K]α,β,γ,d[X]shi+α,shj+β,γ[\boldsymbol{O}]_{i,j,d}=[\boldsymbol{K} * \boldsymbol{I}]_{i,j,d}=\displaystyle\sum_{\alpha=0}^{k _{h}-1}{\displaystyle\sum_{\beta=0}^{k _{w}-1}{\displaystyle\sum_{\gamma=0}^{c-1}{[\boldsymbol{K}]_{\alpha,\beta,\gamma,d}[\boldsymbol{X}']_{s _{h}i+ \alpha,s _{h}j+\beta,\gamma}}}}
    • in case of height of [X]i+shα,j+swβ[\boldsymbol{X}']_{i+s _{h} \alpha,j+s _{w}\beta}
      • shi+(kh1)ih+2phs _{h}i+(k _{h}-1)\le i _{h}+2 p _{h}
      • shiih+2ph(kh1)s_{h}i \le i _{h}+2 p _{h}-(k _{h}-1)
      • iij+2phkh+1shi \le \displaystyle\frac{i _{j}+2p _{h}-k _{h}+1}{s _{h}}
      • iij+2phkh+1shih+2phkhsh+1i \le \displaystyle\frac{i _{j}+2p _{h}-k _{h}+1}{s _{h}} \le \displaystyle\frac{i _{h}+2p _{h}-k _{h}}{s _{h}}+1
      • therefore oh=ih+2phkhsh+1o _{h}=\displaystyle\frac{i _{h}+2p _{h}-k _{h}}{s _{h}}+1
  • Pooling
    -
profile
안녕하세요!

0개의 댓글