BugID:23252751: uAI S2 function, support ODLA, fix file not close problem
@@ -375,7 +375,7 @@ static int uai_load_scale_from_file(int8_t layer_id, uai_quant_scale_type type,
}
UAI_LOGD("load model data from flash success !\n");
-
+ fclose(fd);
UAI_RET_WITH_MEM_FREE(model_quant_scale, UAI_SUCCESS);
}
#endif
