는 세로·가로 방향의 형상을 가졌고, 필터 역시 세로·가로 방향의 차원을 갖습니다. 데이터
와 필터의 형상을 (높이
height
, 너비
width
)로 표기하며, 이 예에서는 입력은 (
4
,
4
), 필터는 (
3
,
3
), 출력은 (
2
,
2
)가 됩니다. 문헌에 따라 필터를
커널
이라 칭하기도 합니다.
그럼 [그림
7
-
3
]의 합성곱 연산 예에서 어떤 계산이 이뤄지는지 설명하겠습니다. [그림
7
-
4
]
는 이 합성곱 연산의 계산 순서를 그려본 것입니다.
합성곱 연산은 필터의
윈도우
window
를 일정 간격으로 이동해가며 입력 데이터에 적용합니다. 여
기에서 말하는 윈도우는 [그림
7
-
4
]의 회색
3
×
3
부분을 가리킵니다. 이 그림에서 보듯 입
력과 필터에서 대응하는 원소끼리 곱한 후 그 총합을 구합니다(이 계산을
단일 곱셈-누산
fused
multiply
-
add
,
FMA
이라 합니다).
*
그리고 그 결과를 출력의 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.