Skip to content

Commit

Permalink
Merge pull request #2492 from zihaomu/patch-1
Browse files Browse the repository at this point in the history
Update op.md
  • Loading branch information
wangzhaode authored Jul 13, 2023
2 parents c293f9e + 1036a28 commit f3dcbda
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit f3dcbda

Please sign in to comment.