message: Replace context->ReportError with TF_LITE_KERNEL_LOG in lite/micro/kernels/gather.cc
diff: @@ -52,7 +52,7 @@ TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) {
  case kTfLiteInt32:
  break;
  default:
  - context->ReportError(
  + TF_LITE_KERNEL_LOG(
  context, "Positions of type '%s' are not supported by gather.",
  TfLiteTypeGetName(positions->type));
  return kTfLiteError;
  @@ -76,7 +76,7 @@ TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) {
  TF_LITE_ENSURE_EQ(context, NumDimensions(input), 1);
  } break;
  default:
  - context->ReportError(context, "Type '%s' is not supported by gather.",
  + TF_LITE_KERNEL_LOG(context, "Type '%s' is not supported by gather.",
  TfLiteTypeGetName(input->type));
  return kTfLiteError;
  }
  @@ -165,7 +165,7 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
  case kTfLiteString:
  return GatherStrings<int32_t>(context, input, positions, output);
  default:
  - context->ReportError(context, "Type '%s' is not supported by gather.",
  + TF_LITE_KERNEL_LOG(context, "Type '%s' is not supported by gather.",
  TfLiteTypeGetName(input->type));
  return kTfLiteError;
  }
  @@ -189,12 +189,12 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
  case kTfLiteString:
  return GatherStrings<int64_t>(context, input, positions, output);
  default:
  - context->ReportError(context, "Type '%s' is not supported by gather.",
  + TF_LITE_KERNEL_LOG(context, "Type '%s' is not supported by gather.",
  TfLiteTypeGetName(input->type));
  return kTfLiteError;
  }
  }
  - context->ReportError(context,
  + TF_LITE_KERNEL_LOG(context,
  "Positions of type '%s' are not supported by gather.",
  TfLiteTypeGetName(positions->type));
  return kTfLiteError;
  