Make Tensor <--> Numpy interactive in tensor.h
* Follow review comments to seperate Tensor Numpy interactive methods in tensor.h. * Simplify logic for `CastToPyBufferImpl`, make it as one struct and in details namespace. * Remove `Scope` expose in Python, since it currently is useless. * Remove some debug functions.
Showing
paddle/pybind/tensor.h
0 → 100644
想要评论请 注册 或 登录