Closed mirza-halilcevic closed 9 months ago
The dilations
attribute has been present in the MaxPool operator since opset 10. However, support for it has yet to be added and tests for MaxPool that depend on the dilations
attribute are currently excluded.
We added parsing support for the dilations
attribute and modified the reference implementation accordingly. The GPU target implementation uses the MIOpen pooling layer which at the moment doesn't support dilations. Neither does DNNL in the CPU target implementation.
The latest version of the PR added the missing test and fixed the logic for calculating dilations. As mentioned above, the GPU version (MIOpen) does not support dilations. As a workaround, we will investigate solutions with separating padding and calculating the kernels with slice op.
The
dilations
attribute has been added to the AveragePool operator since opset v19 and support needs to be added.