Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tf.keras의 Sequential model에서의 input_shape 필수 여부 #1

Open
jwlee-ml opened this issue Feb 8, 2019 · 0 comments
Open

Comments

@jwlee-ml
Copy link

jwlee-ml commented Feb 8, 2019

eager execution과 직접 상관있는 부분은 아닙니다만,

model = tf.keras.Sequential([
tf.keras.layers.Dense(10, input_shape=(784,)), # 입력 shape을 반드시 선언해줘야 한다.
tf.keras.layers.Dense(10)
])

부분에서 tf.keras에서는 input_shape이 필수 요소는 아닌 것으로 알고 있습니다.
다만 model.summary() 확인에 약간의 제약이 있을 뿐이지 network자체는 정상적으로 작동합니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant