An issue was discovered TensorFlow v2.18.0. A Denial of Service (DoS) occurs when padding is set to 'valid' in tf.keras.layers.Conv2D.
https://github.com/tensorflow/tensorflow/issues/84205
https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc