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 op.md #2492

Merged
merged 1 commit into from
Jul 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/contribute/op.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ MyCustomOpTflite::run(MNN::OpT *dstOp,
int quantizedModel)
```

其中,`run`函数相比TensorFlow的版本,多一个`quantizedModel`参数。若`qu``antizedModel`为true,则模型为量化模型,需转为相应的量化Op;若为false,转为浮点Op。在run函数中需要设置输入、输出tensor的index:
其中,`run`函数相比TensorFlow的版本,多一个`quantizedModel`参数。若`quantizedModel`为true,则模型为量化模型,需转为相应的量化Op;若为false,转为浮点Op。在run函数中需要设置输入、输出tensor的index:
```cpp
// set input output index
dstOp->inputIndexes.resize(1);
Expand Down
Loading