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
8c6a7723
Unverified
Commit
8c6a7723
authored
Feb 28, 2020
by
zhengdi
Committed by
GitHub
Feb 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[RELAY] fix error message (#4945)
parent
9816efc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
python/tvm/ir/transform.py
+1
-1
No files found.
python/tvm/ir/transform.py
View file @
8c6a7723
...
...
@@ -82,7 +82,7 @@ class PassContext(Object):
elif
isinstance
(
fallback_device
,
TVMContext
):
fallback_device
=
fallback_device
.
device_type
if
not
isinstance
(
fallback_device
,
int
):
raise
TypeError
(
"
required_pass
is expected to be the type of "
+
raise
TypeError
(
"
fallback_device
is expected to be the type of "
+
"int/str/TVMContext."
)
required
=
list
(
required_pass
)
if
required_pass
else
[]
...
...
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