Yes, the export should work then. But, it will be for a kernel with fixed size. If you want it to be dynamic, you’ll have to consider another approach for downsampling and make sure it is supported for ONNX export.