학습 한 줄: history = model.fit(x, y, epochs=10, batch_size=32, validation_split=0.1, callbacks=[...]). history 가 loss / metric 의 epoch 별 list 들어있는 객체. 그래프 그릴 때 history.history['loss'].
data 가 큰 경우 generator 또는 tf.Dataset / torch.DataLoader 도 OK — fit() 이 알아서 처리. 학습 도중 멈추려면 callback (EarlyStopping, ModelCheckpoint) 활용. fit() 한 호출이 학습 전체야.