Created by: SunGaofeng
Sometimes user would install cpu only paddle. So when use_gpu=True, the program should check whether paddle was compiled with gpu or cpu only. For the latter case, program will exit will error information to show that.
Created by: SunGaofeng
Sometimes user would install cpu only paddle. So when use_gpu=True, the program should check whether paddle was compiled with gpu or cpu only. For the latter case, program will exit will error information to show that.