ValueError: operands could not be broadcast together with shapes (1,8) (1,7)

I’ve just restarted notebook. I have correct outputs after new training, but still have error in tests

But now it is

ValueError: operands could not be broadcast together with shapes (1,7) (1,6)