I'm following the TensorFlow 2 quickstart for experts guide and trying to understand the first argument of making an instance of Conv2D.
filters: Integer, the dimensionality of the output space
(i.e. the number of output filters in the convolution).
As the guide uses the same 32 for the batch size and filters, is there a specific reason to choose 32, and should both of these parameters always match each other?
Relevant code:
train_ds = tf.data.Dataset.from_tensor_slices(
(x_train, y_train)).shuffle(10000).batch(32)
... ...
self.conv1 = Conv2D(32, 3, activation='relu')