C.W.K.
Stream
Lesson 03 of 07 · published

Keras 의 여정 — 버전 흐름

~8 min · origin

Level 0Keras 도제
0 XP0/97 lessons0/20 achievements
0/120 XP to next level120 XP to go0% complete

버전 흐름 알면 옛 tutorial 어디까지 믿을지 감 잡혀. Keras 1.x (2015–2017) 은 standalone keras 패키지 + Theano shape. Keras 2.x (2018–2022) 는 tf.keras 로 TensorFlow 와 깊이 융합. Keras 3 (2023+) 은 다시 분리 — import 이름은 keras 그대로지만 multi-backend.

2020 년 블로그가 '~/.keras/keras.json 에서 image_data_format 설정해' 라고 하면 그건 Keras 2 머슬 메모리. 3 에서도 그 파일 쓰지만 역할이 줄어든 상태. tutorial 들이 흔히 import tensorflow as tf; tf.keras... 가정 하는데, Keras 3 는 import keras 직접 하고 backend 골라.

Code

# Keras 3 — works on any backend
import keras
from keras import layers

# Same code runs on TF, PyTorch, or JAX
model = keras.Sequential([
    layers.Dense(128, activation="relu"),
    layers.Dense(10, activation="softmax"),
])

External links

Exercise

github.com/keras-team/keras/releases changelog 열고 Keras 3.0.0 릴리즈 entry 찾아. highlights 읽고, Keras 2 코드베이스 업그레이드 시 부딪힐 breaking change 하나 메모.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.