[Fix]fix init_model to support 'device=cpu' (#1275)
* fix init_model
* Refine warning message
Co-authored-by:
Tai-Wang <tab_wang@outlook.com>
Showing
Please register or sign in to comment
* fix init_model
* Refine warning message
Co-authored-by:
Tai-Wang <tab_wang@outlook.com>