when adding new layer as asked in the assignment

  • add the new Binary classification layers

  • use global avg pooling to summarize the info in each channel

    I added the Binay classification layer using TensorFlow dense layer Dense(2)(x), but how I can implement global avg pooling?

You can implement global avg pooling like this.

1 Like

thank you @saifkhanengr