TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
  TfLiteTensor* output = GetOutput(context, node, kOutputTensor);
  const TfLiteTensor* input = GetInput(context, node, kInputTensor);
  FillDiagHelper(input, output);
  return kTfLiteOk;
}
The software writes data past the end, or before the beginning, of the intended buffer.