Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 22 of 110
Free Preview · 110 of 364 · questions 1–110 of 364 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
the shape (-1, 2) indicates that the data can have any number of rows (denoted by -1), but must have exactly 2 columns. In machine learning, especially in frameworks like TensorFlow or Keras, the -1 acts as a placeholder for dynamic batch sizes, meaning the model can process inputs with any number of samples (rows), but each sample must have exactly 2 features (columns).
D) Any rows, 2 columns.
Went with D