C.W.K.
Stream
Quiz · 4 questions

🧬 Model Subclassing — Full Control

Full control via Python

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

Quiz

01In a subclassed Model, where do you define the forward pass?
Hint
call() defines the forward pass.
02What is build() used for in a custom Layer?
Hint
build() is called once when the layer first receives input.
03What method should you override for custom serialization?
Hint
get_config() returns a dict of the layer's configuration, enabling saving and loading.
04Can subclassed layers be used inside Functional API models?
Hint
Custom subclassed layers work seamlessly in Functional API models.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.