Fix numpy array compare for Numpy 1.25 (#2136) BUG=[549343727](http://cl/549343727)
diff --git a/tensorflow/lite/micro/tools/model_transforms_utils.py b/tensorflow/lite/micro/tools/model_transforms_utils.py index 2b5c6a7..c713f01 100644 --- a/tensorflow/lite/micro/tools/model_transforms_utils.py +++ b/tensorflow/lite/micro/tools/model_transforms_utils.py
@@ -168,7 +168,7 @@ if buffer.data is None: buffer.data = [] return - if buffer.data == []: + if len(buffer.data) == 0: return # For now this assumes that zero_point is int8 and hence all the buffer