image_output_1.png
from tensorflow.keras.layers import Input , Dense , Flatten , GlobalAveragePooling2D

from tensorflow.keras.models import Sequential

import tensorflow as tf

addModel = tf.keras.applications.xception.Xception(input_shape=(299, 299, 3), include_top=False, weights='imagenet')
model = Sequential()
model.add(addModel)
model.add(GlobalAveragePooling2D())
model.add(Flatten())
model.add(Dense(1024, activation='relu'))
model.add(Dense(512, activation='relu'))
model.add(Dense(10, activation='softmax', name='classification'))