Functional model 안에 Subclass layer 넣어도 OK. 정 반대로 Subclass model 의 __init__ 에서 Functional submodel 생성도 OK. 한 model 안에 둘이 섞여 있어도 Keras 가 알아서 처리.
실전 예: backbone (pretrained ResNet, Functional) + custom head (Subclassed). 또는 Subclassed Transformer block 을 Functional model 의 layer 로 사용. 둘의 강점이 보완 — Functional 의 introspection + Subclass 의 자유.