- Finally, on version 0.87,Aid adds CPU acceleration and GPU acceleration, and tflite is built into version 0.87. tflite GPU module can fully release the GPU performance of mobile phone, support CPU + GPU mode, and speed up at the same time! tflite.NNModel (model_ Path, inshape, outshape, 4,0) # - 4 represents 4 CPU threads, 0 represents GPU, - 1 represents CPU, and 1 represents the number of nnapi threads. I set 4 threads on aid. You can flexibly set the number of threads and use GPU + CPU mode
0 commit comments