0

While making a machine learning model in keras, I checked the shape of an element that gives the output (?,12).

I went through this stackoverflow answer but did'nt understand what exactly (?,12) shows?

Rahul Anand
  • 437
  • 1
  • 4
  • 15
  • Assume that you would pass a matrix of shape (n, 12). Where the columns are fixed to 12, but rows could vary through runs. – pissall Sep 20 '19 at 10:00

1 Answers1

0

it means it's a variable shape. This could be for example the batch size.

Have a look at What is the meaning of the "None" in model.summary of KERAS?

cookiemonster
  • 1,315
  • 12
  • 19