diff --git a/develop/doc/_sources/howto/dev/new_op_en.md.txt b/develop/doc/_sources/howto/dev/new_op_en.md.txt index 60681cdd718547e1abc730ea720f05bbd39561f1..bad1dbc1de9cc5bd11914fddf397857f0bda7976 100644 --- a/develop/doc/_sources/howto/dev/new_op_en.md.txt +++ b/develop/doc/_sources/howto/dev/new_op_en.md.txt @@ -182,7 +182,7 @@ Note that **different devices (CPU, GPU)share an Op definition; whether or not t `MulOp`'s CPU and GPU share the same `Kernel`. A non-sharing `OpKernel` example can be seen in [`OnehotCrossEntropyOpKernel`](https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/operators/cross_entropy_op.h#L43). -To ease the writing of `OpKernel` compute, and for reusing code cross-device, `Eigen unsupported Tensor` module is used to implement `Compute` interface. To learn about how the Eigen library is used in PaddlePaddle, please see [usage document](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/howto/dev/use_eigen_cn.md). +To ease the writing of `OpKernel` compute, and for reusing code cross-device, [`Eigen-unsupported Tensor`](https://bitbucket.org/eigen/eigen/src/default/unsupported/Eigen/CXX11/src/Tensor/README.md?fileviewer=file-view-default) module is used to implement `Compute` interface. To learn about how the Eigen library is used in PaddlePaddle, please see [usage document](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/howto/dev/use_eigen_cn.md). This concludes the forward implementation of an operator. Next its operation and kernel need to be registered in a `.cc` file. diff --git a/develop/doc/howto/dev/new_op_en.html b/develop/doc/howto/dev/new_op_en.html index 94d5cb99b1dcb1e5196c0d8699abf39d452c43ae..f5ad915f487dd0eddcaf13990d54075dbc24e569 100644 --- a/develop/doc/howto/dev/new_op_en.html +++ b/develop/doc/howto/dev/new_op_en.html @@ -340,7 +340,7 @@ Registering the Op | Ops are registered in OpKernel depends on whether Compute calls functions that support both devices.

MulOp‘s CPU and GPU share the same Kernel. A non-sharing OpKernel example can be seen in OnehotCrossEntropyOpKernel.

-

To ease the writing of OpKernel compute, and for reusing code cross-device, Eigen unsupported Tensor module is used to implement Compute interface. To learn about how the Eigen library is used in PaddlePaddle, please see usage document.

+

To ease the writing of OpKernel compute, and for reusing code cross-device, Eigen-unsupported Tensor module is used to implement Compute interface. To learn about how the Eigen library is used in PaddlePaddle, please see usage document.

This concludes the forward implementation of an operator. Next its operation and kernel need to be registered in a .cc file.

The definition of its corresponding backward operator, if applicable, is similar to that of an forward operator. Note that a backward operator does not include a ProtoMaker.