| 30 | } |
| 31 | |
| 32 | TfLiteIntArray* ConvertArrayToTfLiteIntArray(const int rank, const int* dims) { |
| 33 | TfLiteIntArray* output = TfLiteIntArrayCreate(rank); |
| 34 | for (size_t i = 0; i < rank; i++) { |
| 35 | output->data[i] = dims[i]; |
| 36 | } |
| 37 | return output; |
| 38 | } |
| 39 | |
| 40 | bool EqualArrayAndTfLiteIntArray(const TfLiteIntArray* a, const int b_size, |
| 41 | const int* b) { |
no test coverage detected