projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1d9b6
)
correct mistake in muladd function logic (#2269)
author
Sean
<wonderxboy@gmail.com>
Tue, 11 Dec 2018 17:42:47 +0000
(11:42 -0600)
committer
Tianqi Chen
<tqchen@users.noreply.github.com>
Tue, 11 Dec 2018 17:42:47 +0000
(09:42 -0800)
Doesn't make sense to have %1 = mul(%x, %y) computed but never use the result %1
docs/dev/relay_intro.rst
patch
|
blob
|
history
diff --git
a/docs/dev/relay_intro.rst
b/docs/dev/relay_intro.rst
index d3c83590cbb83f0f23ee67d34c0460d60b1569d9..dde900a502c19e80a5e869904327c847e1f68b54 100644
(file)
--- a/
docs/dev/relay_intro.rst
+++ b/
docs/dev/relay_intro.rst
@@
-54,7
+54,7
@@
shows an example of a function calling another function.
\r
def @muladd(%x, %y, %z) {
\r
%1 = mul(%x, %y)
\r
- %2 = add(%
x
, %z)
\r
+ %2 = add(%
1
, %z)
\r
%2
\r
}
\r
def @myfunc(%x) {
\r