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

H = tf.keras.layers.Conv2D(?????)(X) 뒤에 (X)의 문법이 궁금합니다. #1161

Open
miracle153f opened this issue Aug 3, 2023 · 0 comments

Comments

@miracle153f
Copy link

궁금한 점

정말 이해하기 쉽게 강의해 주셔서 감사합니다.
공부하는 중 문법적인 부분에서 궁금한 점이 생겨서 질문드립니다.

X = tf.keras.layers.Input(shape=[28, 28, 1])

H = tf.keras.layers.Conv2D(6, kernel_size=5, padding='same', activation='swish')(X)

위 코드에서, 마지막 (X) 부분을 쓰는 이유는 알겠는데, 문법적으로는 잘 이해가 되지 않습니다.

보통 소괄호는 연산 순서를 바꾸거나, abs(x)처럼 함수의 매개변수를 쓰기 위한 것인데,

Conv2D()함수 뒤에 (X)가 나와서 어떤 문법적 내용인지 잘 모르겠습니다.

설명 주시면 감사하겠습니다.

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