Dls 4/week 2/exercise 2/input shape

def alpaca_model(image_shape=IMG_SIZE, data_augmentation=data_augmenter()):
‘’’ Define a tf.keras model for binary classification out of the MobileNetV2 model
Arguments:
image_shape – Image width and height
data_augmentation – data augmentation function
Returns:
Returns:
tf.keras.model
‘’’

input_shape = image_shape + (3,)

Could you explain the purpose of this line above (input shape)?

input shape is width, height, channels=3 in this case, and the concatenation of tuples give us the correct input shape. you need a tuple to concatenate correctly: