Skip to content

Commit ef00fd4

Browse files
committed
fix: update exception info
1 parent ae5a90f commit ef00fd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native-executorch/common/rnexecutorch/data_processing/ImageProcessing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ readImageToTensor(const std::string &path,
136136
if (tensorDim.size() < 2) {
137137
char errorMessage[100];
138138
std::snprintf(errorMessage, sizeof(errorMessage),
139-
"Unexpected model input size, expected at least 2 dimentions "
139+
"Unexpected tensor size, expected at least 2 dimentions "
140140
"but got: %zu.",
141141
tensorDim.size());
142142
throw std::runtime_error(errorMessage);

0 commit comments

Comments
 (0)