)]}'
{
  "commit": "045bf3266bb2cd827557c31d2229e0739de7cb4a",
  "tree": "f4fbdc15116bf5b5c0ee95e0017a44bb648ca9a2",
  "parents": [
    "5f07787806feb669b1e15ccb4de7a7be01072472"
  ],
  "author": {
    "name": "Ian Wood",
    "email": "75152913+IanWood1@users.noreply.github.com",
    "time": "Thu Jun 13 15:17:13 2024 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jun 13 15:17:13 2024 -0700"
  },
  "message": "Change calculation of reassociation indicies in ConvertConvToChannelsLast.cpp (#17668)\n\n- Added `GreedyRewriteConfig` set to `kNoLimit` since the patterns were\r\nfailing to converge within the 10 iterations\r\n- Changed the way re-association indices are calculated for\r\n`GeneralizeOuterUnitDimsPackOps`. (There might be a helper function\r\nsomewhere for this but i couldn\u0027t find one)\r\n\r\n\r\n\r\n\r\n#### Before (verification error)\r\n```mlir\r\n%30042 \u003d \"tensor.expand_shape\"(%30041) \r\n\t\u003c{reassociation \u003d [[0, 1], [2, 3], [4], [5]], \r\n\t\tstatic_output_shape \u003d array\u003ci64: 1, 1, 3, 3, 320, 4\u003e}\u003e \r\n\t: (tensor\u003c3x3x320x4xi8\u003e) -\u003e tensor\u003c1x1x3x3x320x4xi8\u003e\r\n```\r\n\r\n#### After\r\n```mlir\r\n%30042 \u003d \"tensor.expand_shape\"(%30041) \r\n\t\u003c{reassociation \u003d [[0, 1, 2], [3], [4], [5]], \r\n\t\tstatic_output_shape \u003d array\u003ci64: 1, 1, 3, 3, 320, 4\u003e}\u003e \r\n\t: (tensor\u003c3x3x320x4xi8\u003e) -\u003e tensor\u003c1x1x3x3x320x4xi8\u003e\r\n```\r\n\r\n\r\n\r\nhttps://github.com/iree-org/iree/issues/17643\r\n\r\n---------\r\n\r\nSigned-off-by: Ian Wood \u003cianwood2024@u.northwestern.edu\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "43d3776ff3e8440950a306bdef08583c98a129fb",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Preprocessing/Common/ConvertConvToChannelsLast.cpp",
      "new_id": "ac41bd84383d7b042f19dcbb859716ca36f65d12",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Preprocessing/Common/ConvertConvToChannelsLast.cpp"
    },
    {
      "type": "modify",
      "old_id": "1bee668a3ab450631fc49de937aed86d72d871e3",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Preprocessing/Common/test/conv_to_channels_last.mlir",
      "new_id": "67c66e58dc8d4667a903681886a5fe495a52ee57",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Preprocessing/Common/test/conv_to_channels_last.mlir"
    }
  ]
}
