This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-site.git
The following commit(s) were added to refs/heads/main by this push:
new 85c7e4e Fix link (#27)
85c7e4e is described below
commit 85c7e4ebf6d9ed221075e38e5e5e1a0052693acc
Author: Gus Smith <[email protected]>
AuthorDate: Thu Mar 18 17:30:06 2021 -0700
Fix link (#27)
* Fix link
* whoops, switch back to main
---
_posts/2020-07-15-how-to-bring-your-own-codegen-to-tvm.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_posts/2020-07-15-how-to-bring-your-own-codegen-to-tvm.md
b/_posts/2020-07-15-how-to-bring-your-own-codegen-to-tvm.md
index 26a016f..f853891 100644
--- a/_posts/2020-07-15-how-to-bring-your-own-codegen-to-tvm.md
+++ b/_posts/2020-07-15-how-to-bring-your-own-codegen-to-tvm.md
@@ -131,7 +131,7 @@ _register_external_op_helper("multiply")
In the above example, we specify a list of operators that can be supported by
DNNL codegen.
### Rules for graph patterns
-Your accelerator or compiler may have optimized some patterns (e.g., Conv2D +
add + ReLU) to be a single instruction or an API. In this case, you can specify
a mapping from a graph pattern to your instruction/API. For the case of the
DNNL, its Conv2D API already includes bias addition and it allows the next ReLU
to be attached, so we can call DNNL as the following code snippet (the complete
implementation can be found
[here]([https://github.com/apache/incubator-tvm/blob/main/src/runtime/ [...]
+Your accelerator or compiler may have optimized some patterns (e.g., Conv2D +
add + ReLU) to be a single instruction or an API. In this case, you can specify
a mapping from a graph pattern to your instruction/API. For the case of the
DNNL, its Conv2D API already includes bias addition and it allows the next ReLU
to be attached, so we can call DNNL as the following code snippet (the complete
implementation can be found
[here](https://github.com/apache/incubator-tvm/blob/main/src/runtime/c [...]
```c
DNNLConv2d(const bool has_bias = false, const bool has_relu = false) {