)]}'
{
  "commit": "71fba59b5bebfd64b48e167bfcb669fff568ec74",
  "tree": "2924e4b32206617d28dc8dfcc4b8e3007db077f9",
  "parents": [
    "be11bd79e4a8b28c9ee92c6f02ca0e85414fb768"
  ],
  "author": {
    "name": "RJ Ascani",
    "email": "rjascani@google.com",
    "time": "Tue May 28 21:05:42 2024 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed May 29 04:05:42 2024 +0000"
  },
  "message": "Fail per-channel quantized FullyConnected layers (#2602)\n\nThe TFLiteConverter recently switched over to using per-channel quantization for all Dense/FullyConnected layers. TFLite-Micro does not yet have support for this, and was using incorrect quantization parameters for FullyConnected layers on newly converted models. Unsurprisingly, this leads to invalid output.\n\nWhile we intend to add per-channel quantization support for FullyConnected, this PR adds a runtime check for per-channel quantization until it can be supported by individual kernels. If you encounter this runtime error, you can disable the new Converter behavior by setting:\n\n`TfLiteConverter._experimental_disable_per_channel_quantization_for_dense_layers \u003d True` https://github.com/tensorflow/tensorflow/blob/377f47694fa790e98db6665b9adecde00b5e0d68/tensorflow/lite/python/lite.py#L674\n\nBUG\u003db/324385802",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5a8d312defe5a1cf51224281043d26af661ddb23",
      "old_mode": 33188,
      "old_path": "tensorflow/lite/micro/kernels/fully_connected_common.cc",
      "new_id": "66f8787b4af24b4b321665d7f5f15b1a229448d0",
      "new_mode": 33188,
      "new_path": "tensorflow/lite/micro/kernels/fully_connected_common.cc"
    },
    {
      "type": "modify",
      "old_id": "3edf4200aa013e6d8cfcba6bf3f4534c6a48efe6",
      "old_mode": 33188,
      "old_path": "tensorflow/lite/micro/kernels/testdata/lstm_test_data.h",
      "new_id": "932b83203ef685b88a9d921707faa886e3b3a613",
      "new_mode": 33188,
      "new_path": "tensorflow/lite/micro/kernels/testdata/lstm_test_data.h"
    },
    {
      "type": "modify",
      "old_id": "4d80991b0b119fb47ac75951d9e7a8d33143390d",
      "old_mode": 33188,
      "old_path": "tensorflow/lite/micro/tools/requantize_flatbuffer_test.py",
      "new_id": "342f893bf7a6ea9d09b9654d45818400eaea97e3",
      "new_mode": 33188,
      "new_path": "tensorflow/lite/micro/tools/requantize_flatbuffer_test.py"
    }
  ]
}
