Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
5a30a22c
Commit
5a30a22c
authored
Jan 30, 2019
by
Wuwei Lin
Committed by
Yizhi Liu
Jan 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BugFix] Copy intermediate result in debug runtime (#2520)
parent
1120655b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
python/tvm/contrib/debugger/debug_runtime.py
+2
-0
No files found.
python/tvm/contrib/debugger/debug_runtime.py
View file @
5a30a22c
...
...
@@ -7,6 +7,7 @@ from datetime import datetime
from
tvm._ffi.base
import
string_types
from
tvm._ffi.function
import
get_global_func
from
tvm.contrib
import
graph_runtime
from
tvm.ndarray
import
array
from
tvm.rpc
import
base
as
rpc_base
from
.
import
debug_result
...
...
@@ -172,6 +173,7 @@ class GraphModuleDebug(graph_runtime.GraphModule):
num_outputs
=
self
.
debug_datum
.
get_graph_node_output_num
(
node
)
for
j
in
range
(
num_outputs
):
out_tensor
=
self
.
_get_output_by_layer
(
i
,
j
)
out_tensor
=
array
(
out_tensor
)
self
.
debug_datum
.
_output_tensor_list
.
append
(
out_tensor
)
def
debug_get_output
(
self
,
node
,
out
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment