I think it’s because of the BATCH size witch you didn’t define so it can be anything, meaning that your model will accept any number of instances of the predefined input.
From the documentation 8:
Input shape:
N-D tensor with shape: (batch_size, ..., input_dim). The most common situation would be a 2D input with shape (batch_size, input_dim)