• Q
    add operator base (#2725) · a2e5f652
    Qiao Longfei 提交于
    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.
    a2e5f652
demo_op.h 1.6 KB