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:
cc79591
)
[PYTHON] Add buffer name when creating tensor bindings (#5670)
author
Tianqi Chen
<tqchen@users.noreply.github.com>
Tue, 26 May 2020 03:19:15 +0000
(20:19 -0700)
committer
GitHub
<noreply@github.com>
Tue, 26 May 2020 03:19:15 +0000
(20:19 -0700)
python/tvm/driver/build_module.py
patch
|
blob
|
history
diff --git
a/python/tvm/driver/build_module.py
b/python/tvm/driver/build_module.py
index
97ed8d8
..
b1c15fb
100644
(file)
--- a/
python/tvm/driver/build_module.py
+++ b/
python/tvm/driver/build_module.py
@@
-65,6
+65,7
@@
def get_binds(args, compact=False, binds=None):
buf = tvm.tir.decl_buffer(
x.shape,
dtype=x.dtype,
+ name=x.name,
buffer_type=buffer_type)
binds[x] = buf
arg_list.append(buf)