@@ -470,6 +470,10 @@ TfLiteStatus ParseOpDataTfLite(const Operator* op, BuiltinOperator op_type,
470
470
builtin_data);
471
471
}
472
472
473
+ case BuiltinOperator_REVERSE_V2: {
474
+ return ParseReverseV2 (op, error_reporter, allocator, builtin_data);
475
+ }
476
+
473
477
case BuiltinOperator_ROUND: {
474
478
return ParseRound (op, error_reporter, allocator, builtin_data);
475
479
}
@@ -1006,7 +1010,6 @@ TfLiteStatus ParseOpDataTfLite(const Operator* op, BuiltinOperator op_type,
1006
1010
case BuiltinOperator_REAL:
1007
1011
case BuiltinOperator_RFFT2D:
1008
1012
case BuiltinOperator_SEGMENT_SUM:
1009
- case BuiltinOperator_REVERSE_V2:
1010
1013
case BuiltinOperator_UNSORTED_SEGMENT_MAX:
1011
1014
case BuiltinOperator_UNSORTED_SEGMENT_MIN:
1012
1015
case BuiltinOperator_UNSORTED_SEGMENT_PROD:
@@ -2467,6 +2470,14 @@ TfLiteStatus ParseStablehloCase(const Operator* op,
2467
2470
return kTfLiteError ;
2468
2471
}
2469
2472
2473
+ // We have this parse function instead of directly returning kTfLiteOk from the
2474
+ // switch-case in ParseOpData because this function is used as part of the
2475
+ // selective registration for the OpResolver implementation in micro.
2476
+ TfLiteStatus ParseReverseV2 (const Operator*, ErrorReporter*,
2477
+ BuiltinDataAllocator*, void **) {
2478
+ return kTfLiteOk ;
2479
+ }
2480
+
2470
2481
// We have this parse function instead of directly returning kTfLiteOk from the
2471
2482
// switch-case in ParseOpData because this function is used as part of the
2472
2483
// selective registration for the OpResolver implementation in micro.
0 commit comments