Production model이 사는 곳
Functional API는 layer 호출을 symbolic tensor에 작동하는 함수 호출처럼 다뤄. keras.Input(...)으로 시작해서 tensor를 layer에 통과시키고, 결과 tensor를 keras.Model(inputs, outputs)에 넘겨. 이게 모든 DAG를 지원해 — 분기, skip connection, 다중 입력, 다중 출력.
keras.applications의 거의 모든 model (ResNet, EfficientNet, MobileNet)이 Functional API 써. 그 구현들 읽는 게 좋은 연습 — canonical 예시야.
가장 자주 쓰는 두 패턴: residual block (skip connection을 main path로 다시 더하기), multi-input model (image branch + metadata branch, classifier 전에 concat).