Skip to content

Commit d4682d7

Browse files
committed
cnn: Fix incorrect error string
1 parent 872a686 commit d4682d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tinymaix_cnn/mod_cnn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static mp_obj_t mod_cnn_new(mp_obj_t model_data_obj) {
118118
// will set the dimensions of the input matrix
119119
tm_err_t load_err = tm_load(model, o->model_buffer, o->data_buffer, layer_cb, &o->input);
120120
if (load_err != TM_OK) {
121-
mp_raise_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("eml_fft_forward error"));
121+
mp_raise_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("tm_load error"));
122122
}
123123

124124
return MP_OBJ_FROM_PTR(o);

0 commit comments

Comments
 (0)