Open MilkFiish opened 2 months ago
Thanks for reporting the issue, on investigation it was found out that this happens with all the layers in torch which uses padding="same". It was kind of edge case scenario with only certain combination like you provided would catch the error. Created a PR to fix the same.
When using
keras.layers.MaxPooling2D
with PyTorch backend, there is an inconsistent execution result between static inference shape and dynamic results.The version is keras 3.5.0 with PyTorch 2.4.0 And I got the results below