We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这篇文档需要优化: 
红框处加下面这段话:
Op的输入和输出可分别通过ExecutionContext::Input()和ExecutionContext::Output()获得。注意:若op的输入/输出的变量类型是LoDTensor(fluid默认所有的Tensor默认都是LoDTensor类型),请写成ExecutionContext::Input()和ExecutionContext::Output(),不要写ExecutionContext::Input()和ExecutionContext::Output()。因为若实际的变量类型为SelectedRows,Input()和Output()方法会将SelectedRows类型特化为Tensor,导致潜在的错误。
上图红框处,加代码注释:never use Input or Output if you want a to get a LoDTensor.
上图红框里,把 Tensor 改成 LoDTensor ,共6处
The text was updated successfully, but these errors were encountered:
需要1.0上线 @tink2123 辛苦~
Sorry, something went wrong.
Update new_op_cn.md
f2972fb
fix #132
tink2123
Successfully merging a pull request may close this issue.
这篇文档需要优化:
![image](https://user-images.githubusercontent.com/35982308/46783217-033fd380-cd5c-11e8-853d-996978ea371c.png)

红框处加下面这段话:
Op的输入和输出可分别通过ExecutionContext::Input()和ExecutionContext::Output()获得。注意:若op的输入/输出的变量类型是LoDTensor(fluid默认所有的Tensor默认都是LoDTensor类型),请写成ExecutionContext::Input()和ExecutionContext::Output(),不要写ExecutionContext::Input()和ExecutionContext::Output()。因为若实际的变量类型为SelectedRows,Input()和Output()方法会将SelectedRows类型特化为Tensor,导致潜在的错误。
上图红框处,加代码注释:never use Input or Output if you want a to get a LoDTensor.
上图红框里,把 Tensor 改成 LoDTensor ,共6处
The text was updated successfully, but these errors were encountered: