Skip to content

Commit 6a868a9

Browse files
authored
[onert/cpu] Fix exception throw for unsupported data type (Samsung#16428)
This commit fixes a typo which results in the exception not being thrown. ONE-DCO-1.0-Signed-off-by: Arkadiusz Bokowy <a.bokowy@samsung.com>
1 parent 8910a21 commit 6a868a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

runtime/onert/backend/cpu/ops/ResizeBilinearLayer.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,8 @@ void ResizeBilinearLayer::run()
155155
case OperandType::INT32:
156156
case OperandType::INT64:
157157
case OperandType::QUANT_INT8_SYMM:
158-
std::runtime_error("ResizeBilinear NYI");
159-
break;
160158
default:
161-
std::runtime_error("ResizeBilinear unsupported data type");
159+
throw std::runtime_error("ResizeBilinear unsupported data type");
162160
}
163161
}
164162

0 commit comments

Comments
 (0)