Getting an error while implementing the global average pooling layer

hey @udayjain00 ,
check this

thanks for helping with the code

pls share the code for fitting and predicting outputs

for that i would suggest you to kindly try yourself once.
Handle the errors and if still you are stuck then let me know.