提交 e5887301 编写于 作者: Q qiaolongfei

change op to operators

上级 79b70c2d
#include <paddle/op/add_op.h> #include <paddle/operators/add_op.h>
#include <paddle/framework/op_registry.h> #include <paddle/framework/op_registry.h>
REGISTER_OP_GPU_KERNEL(add_two, REGISTER_OP_GPU_KERNEL(add_two,
paddle::op::AddKernel<paddle::platform::GPUPlace>); paddle::operators::AddKernel<paddle::platform::GPUPlace>);
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册