Skip to content

Commit

Permalink
Fix a typo in operator guide (apache#13115)
Browse files Browse the repository at this point in the history
* Fix the operator API documentation

* update message

* deprecate old command

* fix typo in op guide
  • Loading branch information
apeforest authored and anirudh2290 committed Nov 5, 2018
1 parent 53c5a72 commit b645f41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/faq/add_op_in_backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,9 @@ in the computational graph. MXNet would
add the missing argument with name `quadratic0_data`, where the prefix
`quadratic0` is the operator name appended with an index and the postfix
`data` comes from the return value of the user defined `FListInputName` function.
Users still can generate an executor for the `quand_func` like the following:
Users still can generate an executor for the `quad_func` like the following:
```python
quand_exe = quand_func.simple_bind(ctx=mx.cpu(), quandratic0_data=(1,))
quad_exe = quad_func.simple_bind(ctx=mx.cpu(), quadratic0_data=(1,))
```
- Line 12: Register shape inference function.
- Line 13: Register type inference function.
Expand Down

0 comments on commit b645f41

Please sign in to comment.