1. Home
  2. Data Science
  3. TensorFlow
  4. In Keras, tf.keras.Sequential is best suited to models that:

Added 2 Nov 2026

In Keras, tf.keras.Sequential is best suited to models that:

  1. Are a plain, single-path stack of layers Correct answer
  2. Share layers between many different branches
  3. Contain skip connections like ResNet blocks
  4. Have several inputs and several separate outputs

Correct answer

A. Are a plain, single-path stack of layers

19 views

MCQSEXAM

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

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More TensorFlow MCQs

Practise all TensorFlow MCQs

Similar MCQs