Week 2 assignment 2- alpaca model, anyone know what is the problem


TypeError Traceback (most recent call last)
in
----> 1 model2 = alpaca_model(IMG_SIZE, data_augmentation)

in alpaca_model(image_shape, data_augmentation)
46 ### END CODE HERE
47
—> 48 outputs=prediction_layer(x)
49 model = tf.keras.Model(inputs, outputs)
50

TypeError: ‘Tensor’ object is not callable

The assert indicates there is an error in your alpaca_model() function.