Llvm17 memref op error

when run a mlir file, i found this problem:
error: ‘memref.collapse_shape’ op expected collapsed type to be ‘memref<1x49x1x64xf32, strided<[3136, 64, 64, 1], offset: ?>, 101>’ but found 'memref<1x49x1x64xf32, affine_map<(d0, d1, d2, d3)[s0] → (d0 * 3136 + d1 * 64 + d2 * 64 + d3 + s0)>, 101>

the original code is :

    #map3 = affine_map<(d0, d1, d2, d3, d4)[s0] -> (d0 * 3136 + s0 + d1 * 3136 + d2 * 64 + d3 * 64 + d4)>
    #map4 = affine_map<(d0, d1, d2, d3)[s0] -> (d0 * 3136 + d1 * 64 + d2 * 64 + d3 + s0)>
    %43 = memref.collapse_shape %42 [[0, 1], [2], [3], [4]] : memref<1x1x49x1x64xf32, #map3, 101> into memref<1x49x1x64xf32, #map4, 101>

how should i do

i know how to solve this problem.i can use the correct type to replace map memref. if i avoid use this affne_map type, my program will run…