fix the constant fold failure bug

This commit is contained in:
wangyanling 2021-07-13 16:52:58 +08:00
parent 7001ae7921
commit fc210973e5
2 changed files with 3 additions and 2 deletions

View File

@ -23,8 +23,8 @@ if(PLATFORM_ARM32 OR PLATFORM_ARM64)
endif()
else()
if(WIN32)
target_link_libraries(benchmark_train mindspore-lite_static mindspore-lite-train_static pthread cpu_kernel_mid
nnacl_mid minddata-lite)
target_link_libraries(benchmark_train mindspore-lite_static mindspore-lite-train_static pthread
cpu_kernel_mid cpu_kernel_random_standard_normal nnacl_mid minddata-lite)
else()
target_link_libraries(benchmark_train mindspore-lite mindspore-lite-train pthread minddata-lite)
endif()

View File

@ -183,6 +183,7 @@ target_link_libraries(converter_lite PRIVATE
cpu_ops_mid
nnacl_mid
cpu_kernel_mid
cpu_kernel_random_standard_normal
tflite_parser_mid
tf_parser_mid
caffe_parser_mid