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
2b968204
Unverified
Commit
2b968204
authored
Apr 09, 2020
by
Yizhi Liu
Committed by
GitHub
Apr 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Node] Provide guide to user who has difficulty register SEqualReduce (#5300)
parent
99c4f9d5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
src/node/structural_equal.cc
+2
-1
No files found.
src/node/structural_equal.cc
View file @
2b968204
...
...
@@ -35,7 +35,8 @@ SEqualReduce(const Object* self, const Object* other, SEqualReducer equal) const
uint32_t
tindex
=
self
->
type_index
();
if
(
tindex
>=
fsequal_reduce_
.
size
()
||
fsequal_reduce_
[
tindex
]
==
nullptr
)
{
LOG
(
FATAL
)
<<
"TypeError: SEqualReduce of "
<<
self
->
GetTypeKey
()
<<
" is not registered via TVM_REGISTER_NODE_TYPE"
;
<<
" is not registered via TVM_REGISTER_NODE_TYPE."
<<
" Did you forget to set _type_has_method_sequal_reduce=true?"
;
}
return
fsequal_reduce_
[
tindex
](
self
,
other
,
equal
);
}
...
...
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