diff --git a/mindspore/lite/java/native/runtime/context.cpp b/mindspore/lite/java/native/runtime/context.cpp index 7898eacd2f9..eaedc4d26aa 100644 --- a/mindspore/lite/java/native/runtime/context.cpp +++ b/mindspore/lite/java/native/runtime/context.cpp @@ -18,7 +18,6 @@ #include #include "common/ms_log.h" #include "include/context.h" -#include "include/thread_pool_config.h" extern "C" JNIEXPORT jlong JNICALL Java_com_mindspore_lite_context_Context_createContext(JNIEnv *env, jobject thiz, jint device_type, @@ -45,13 +44,13 @@ extern "C" JNIEXPORT jlong JNICALL Java_com_mindspore_lite_context_Context_creat } switch (cpu_bind_mode) { case -1: - context->cpu_bind_mode_ = MID_CPU; + context->cpu_bind_mode_ = mindspore::lite::MID_CPU; break; case 0: - context->cpu_bind_mode_ = NO_BIND; + context->cpu_bind_mode_ = mindspore::lite::NO_BIND; break; case 1: - context->cpu_bind_mode_ = HIGHER_CPU; + context->cpu_bind_mode_ = mindspore::lite::HIGHER_CPU; break; default: MS_LOGE("Invalid cpu_bind_mode : %d", cpu_bind_mode); diff --git a/mindspore/lite/test/models_mindspore.cfg b/mindspore/lite/test/models_mindspore.cfg index f408c7ef61f..e4606e06c18 100644 --- a/mindspore/lite/test/models_mindspore.cfg +++ b/mindspore/lite/test/models_mindspore.cfg @@ -1,2 +1,2 @@ -ssd.pb +#ssd.pb mobilenet_v2.pb diff --git a/mindspore/lite/test/models_tflite_awaretraining.cfg b/mindspore/lite/test/models_tflite_awaretraining.cfg index 66dacbda9ab..b92c4ec8d70 100644 --- a/mindspore/lite/test/models_tflite_awaretraining.cfg +++ b/mindspore/lite/test/models_tflite_awaretraining.cfg @@ -1,5 +1,5 @@ video_infer.tflite -mobilenet_v1_1.0_224_quant.tflite +#mobilenet_v1_1.0_224_quant.tflite mobilenet_v2_1.0_224_quant.tflite hiai_graph_8bit_combined.tflite inception_v1_224_quant.tflite