Hello advance sorry for being noob. I am currently doing a cnn scratch project. Here in maxpooling class in backpropagation the condition for the indexing is giving error of boolean ambiguous. I am giving the screenshots below!
Screenshot - 10_15_2021 , 9_41_37 PM|690x322
here is the error

Screenshot - 10_15_2021 , 9_40_12 PM1759×555 89.1 KB