add operator base (#2725)
Add OperatorBase. issue: https://github.com/PaddlePaddle/Paddle/issues/2790 Paddle design the Operator with Kernel. OperatorBase has no type and device information when create, One operator can have multiple kernels, Operator will choose a kernel to run according to context. The kernel should be bind to Operator before or during Operator running.
Showing
paddle/framework/operator.cc
0 → 100644
paddle/framework/operator.h
0 → 100644
paddle/framework/operator_test.cc
0 → 100644
paddle/operators/.clang-format
0 → 100644
paddle/operators/CMakeLists.txt
0 → 100644
paddle/operators/demo_op.h
0 → 100644
想要评论请 注册 或 登录