[Cherry-pick] Fix incompatible error for place type (#43830)
* Create Tensor by paddle::empty in custom operator (#41840)
* create tensor by empty in custom op
* fix some bug
* update relu custom op demo (#43173)
* Fix incompatible error for custom op Placetype (#43749)
* fix incompatible error
* rmeove default constructor
* add macro
* fix cpu make error
* add DefaultGPUPlace api
Co-authored-by: Nzyfncg <zhangyunfei07@baidu.com>
Showing
想要评论请 注册 或 登录