| 74 | } |
| 75 | |
| 76 | TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { |
| 77 | const TfLiteTensor* input = GetInput(context, node, kInputTensor); |
| 78 | TfLiteTensor* output = GetOutput(context, node, kOutputTensor); |
| 79 | if (ReshapeOutput(context, node) != kTfLiteOk) { |
| 80 | return kTfLiteError; |
| 81 | } |
| 82 | |
| 83 | for (int i = 0; i < input->bytes; ++i) { |
| 84 | output->data.raw[i] = input->data.raw[i]; |
| 85 | } |
| 86 | return kTfLiteOk; |
| 87 | } |
| 88 | |
| 89 | } // namespace reshape |
| 90 |
nothing calls this directly
no test coverage detected