-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Feature/tensor array add python binding #4616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/tensor array add python binding #4616
Conversation
…/tensor_array_add_python_binding
…/tensor_array_add_python_binding
paddle/pybind/pybind.cc
Outdated
| .def("size", [](TensorArray &self) { return self.size(); }) | ||
| .def("pack", | ||
| [](TensorArray &self, size_t level, | ||
| std::vector<std::vector<size_t>> &meta_info, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const ?
wangkuiyi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we move the binding out from pybind.cc to another file in the same directory?
|
You mean to split the pybind.cc to multiple files? @wangkuiyi |
QiJune
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
resolves: #4608