Hi,
I write a kernel that takes a StringAttribute and an Attribute. StringAttribute has to be the first attribute in kernel signature to make it work. Is this behavior expected? You can reproduce this problem by changing MaxPool2D kernel signature order in backends/cpu/lib/ops/test/resnet_tensor_kernels.cc then running tests in backends/cpu/mlir_tests/resnet/max_pool.mlir.
Thanks.