Skip to content

Conversation

@Superjomn
Copy link
Contributor

@Superjomn Superjomn commented Oct 6, 2017

resolves: #4608

@Superjomn Superjomn requested review from jacquesqiao, qingqing01 and tonyyang-svail and removed request for qingqing01 October 6, 2017 21:06
.def("size", [](TensorArray &self) { return self.size(); })
.def("pack",
[](TensorArray &self, size_t level,
std::vector<std::vector<size_t>> &meta_info,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const ?

wangkuiyi
wangkuiyi previously approved these changes Oct 6, 2017
Copy link
Collaborator

@wangkuiyi wangkuiyi left a 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?

@Superjomn
Copy link
Contributor Author

You mean to split the pybind.cc to multiple files? @wangkuiyi

@Superjomn Superjomn requested a review from QiJune October 7, 2017 00:20
Copy link
Member

@QiJune QiJune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Superjomn Superjomn merged commit 20a6ae7 into PaddlePaddle:develop Oct 7, 2017
@Superjomn Superjomn deleted the feature/tensor_array_add_python_binding branch October 7, 2017 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TensorArray need some python bindings to simplify RNN debug

4 participants