Skip to content
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

update new_op doc #7672

Merged
merged 2 commits into from
Jan 19, 2018
Merged

Conversation

jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Jan 19, 2018

fix: #7674

@jacquesqiao jacquesqiao requested a review from lcy-seso January 19, 2018 02:34

An operator can be differentiated by whether in has kernel methods. An operator with kernel inherits from `OperatorWithKernel` while the ones without inherit from `OperatorBase`. This tutorial focuses on implementing operators with kernels. In short, an operator includes the following information:
An operator can be differentiated by whether in has computation kernels. An operator with kernel inherits from `OperatorWithKernel` while the ones without inherit from `OperatorBase`. This tutorial focuses on implementing operators with kernels. In short, an operator includes the following information:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The first sentence: Operators can be categorized into two groups: operator with kernel(s) and operator without kernel(s).
  • "An operator with kernel inherits from OperatorWithKernel while the ones without inheriting from OperatorBase." --> An operator with kernel(s) inherits from OperatorWithKernel while the one without kernel(s) inherits from OperatorBase.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

第37行的markdown标记有问题。
** The system will use the naming scheme to automatically build operators and their corresponding Python extensions. ** ,** 之后的空格应该去掉。

@@ -225,6 +230,7 @@ The definition of its corresponding backward operator, if applicable, is similar
Run the following commands to compile.

```
# maybe you need to rerun cmake
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you may need to rerun cmake.

@jacquesqiao jacquesqiao merged commit 7869a05 into PaddlePaddle:develop Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update new_op_en doc
2 participants