-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 doc about how to write new operators. #3734
Conversation
408c814
to
1f60d9f
Compare
1f60d9f
to
c19eae4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM++
One minor comment which doesn't block merging.
@@ -268,7 +268,7 @@ def check_grad(self, | |||
:param input_vars: numpy value of input variable. The following | |||
computation will use these variables. | |||
:param inputs_to_check: inputs var names that should check gradient. | |||
:param output_name: output name that used to | |||
:param output_name: the final output variable name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the final output variable name. => the output variable name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
wiki中的Operator代码规范,能不能也更新到文档中呢?主要是命名上的一些规范需要列出来。 |
Fix #3732