-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[JIT]Layer supports eager dygraph mode and Polish Function interface #44283
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
for (auto &out_name : names) { | ||
|
||
std::vector<DenseTensor> ToDenseTensors(const std::vector<Tensor> &tensors) { | ||
std::vector<DenseTensor> ret; |
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.
这里也许用 std::vector<DenseTensor*> ret 更高效
@@ -28,39 +28,21 @@ namespace py = pybind11; | |||
namespace paddle { | |||
namespace pybind { | |||
|
|||
PyTypeObject *g_executor_function_pytype = nullptr; |
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.
后续PR会把PEFunction也暴露出来,并添加一个FLAGS控制Load函数加载进来时默认的BaseFunction类型
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 for removing enable_legacy_mode
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
PR types
New features
PR changes
Others
Describe
[JIT]Layer support eager dygraph mode and polish Function interface