| 195 | } |
| 196 | |
| 197 | bool HaveSameShapes(const TfLiteTensor* input1, const TfLiteTensor* input2) { |
| 198 | return TfLiteIntArrayEqual(input1->dims, input2->dims); |
| 199 | } |
| 200 | |
| 201 | // TODO(petewarden): Having macros around this is ugly, look at other strategies |
| 202 | // before replicating this approach elsewhere. |