message: some fixes to flatbuffers.cc
diff: @@ -346,6 +346,10 @@ TfLiteStatus ParseOpDataTfLite(const Operator* op, BuiltinOperator op_type,
  return ParseRsqrt(op, error_reporter, allocator, builtin_data);
  }
  + case BuiltinOperator_SHAPE: {
  + return ParseShape(op, error_reporter, allocator, builtin_data);
  + }
  +
  case BuiltinOperator_SIN: {
  return ParseSin(op, error_reporter, allocator, builtin_data);
  }
  @@ -663,16 +667,6 @@ TfLiteStatus ParseOpDataTfLite(const Operator* op, BuiltinOperator op_type,
  *builtin_data = params.release();
  return kTfLiteOk;
  }
  - case BuiltinOperator_SHAPE: {
  - auto params = safe_allocator.Allocate<TfLiteShapeParams>();
  - TF_LITE_ENSURE(error_reporter, params != nullptr);
  - if (const auto* schema_params = op->builtin_options_as_ShapeOptions()) {
  - TF_LITE_ENSURE_STATUS(ConvertTensorType(
  - schema_params->out_type(), &params->out_type, error_reporter));
  - }
  - *builtin_data = params.release();
  - return kTfLiteOk;
  - }
  case BuiltinOperator_DELEGATE: {
  // TODO(ycling): Revisit when supporting saving delegated models.
  TF_LITE_REPORT_ERROR(error_reporter,
  @@ -1517,10 +1511,8 @@ TfLiteStatus ParseRsqrt(const Operator*, ErrorReporter*, BuiltinDataAllocator*,
  // We have this parse function instead of directly returning kTfLiteOk from the
  // switch-case in ParseOpData because this function is used as part of the
  // selective registration for the OpResolver implementation in micro.
  -TfLiteStatus ParseShape(const Operator* op, ErrorReporter* error_reporter,
  - BuiltinDataAllocator* allocator,
  - void** builtin_data) {
  -
  +TfLiteStatus ParseShape(const Operator*, ErrorReporter* error_reporter,
  + BuiltinDataAllocator* allocator, void** builtin_data) {
  SafeBuiltinDataAllocator safe_allocator(allocator);
  std::unique_ptr<TfLiteShapeParams,
  SafeBuiltinDataAllocator::BuiltinDataDeleter>
  @@ -1528,7 +1520,7 @@ TfLiteStatus ParseShape(const Operator* op, ErrorReporter* error_reporter,
  TF_LITE_ENSURE(error_reporter, params != nullptr);
  *builtin_data = params.release();
  return kTfLiteOk;
  -} // namespace tflite
  +}
  // We have this parse function instead of directly returning kTfLiteOk from the
  // switch-case in ParseOpData because this function is used as part of the
  