In Keras, tf.keras.Sequential is best suited to models that:
-
A
Are a plain, single-path stack of layers
Correct answer
-
B
Share layers between many different branches
-
C
Contain skip connections like ResNet blocks
-
D
Have several inputs and several separate outputs
Correct answer
A. Are a plain, single-path stack of layers
19 views
Explanation
Sequential builds a linear stack layer by layer. Multi-input, multi-output or branching architectures need the Functional API or model subclassing.
Reference
Asked in: Data Science Interviews, AI Engineer Interviews
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ