"매 production-first ML framework". Google이 2015년에 release한 graph-based deep learning framework. TF 2.x는 eager-by-default + Keras integration으로 PyTorch-like UX를 제공하지만, 매 핵심 강점은 mobile (TFLite) / web (TF.js) / production serving (TF Serving) 의 cross-platform deployment.
매 핵심
매 TF 2.x 의 essence
Eager execution default — 매 tf.function 으로 graph compile (XLA / autograph).
Keras 가 high-level API — 매 tf.keras.Model / Sequential / Functional API.
tf.data — 매 efficient input pipeline (prefetch, parallel map, sharding).
tf.distribute — 매 multi-GPU / TPU strategy (MirroredStrategy, TPUStrategy).
매 PyTorch 와 의 비교 (2026)
연구 share: PyTorch ~85%, TF ~10%. JAX growing.
Production share: TF still dominant (TFLite mobile, TF.js web, TF Serving) thanks to mature deployment.
Keras 3 (2024+): 매 backend-agnostic — TF / JAX / PyTorch 모두 backend로 사용 가능.
매 응용
Mobile inference (Android / iOS via TFLite).
Browser ML (TF.js — pose detection, on-device LLM).
Recommender systems (TFRS, large embedding tables).
언제: mobile/web deployment target, TPU access, legacy TF1 codebase migration, TFX pipeline.
언제 X: 매 cutting-edge research model 의 reproduce — 매 PyTorch reference impl 의 dominant.
❌ 안티패턴
TF1 graph mode 의 cling: 매 tf.compat.v1.Session 의 use 를 새 code 에서 X — 매 TF2 eager + tf.function.
Custom training loop 의 unnecessary use: 매 model.fit 으로 충분한 case 에 manual loop 작성.
tf.py_function overuse: 매 graph 밖 fallback — 매 performance kill.
No prefetch: 매 input pipeline 이 GPU 의 starve.
🧪 검증 / 중복
Verified (TensorFlow official docs, Keras 3 release notes, 2024-2026 tracking).
신뢰도 A.
🕓 Changelog
날짜
변경
2026-05-08
Phase 1
2026-05-10
Manual cleanup — TF2/Keras3 modern usage + deployment focus