Browse Source

set use_mkl to true by default

will-jl944 4 years ago
parent
commit
5d3a191a08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      paddlex/deploy.py

+ 1 - 1
paddlex/deploy.py

@@ -27,7 +27,7 @@ class Predictor(object):
                  use_gpu=False,
                  use_gpu=False,
                  gpu_id=0,
                  gpu_id=0,
                  cpu_thread_num=1,
                  cpu_thread_num=1,
-                 use_mkl=False,
+                 use_mkl=True,
                  mkl_thread_num=4,
                  mkl_thread_num=4,
                  use_trt=False,
                  use_trt=False,
                  use_glog=False,
                  use_glog=False,