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
26ceaac8
Commit
26ceaac8
authored
Oct 27, 2018
by
雾雨魔理沙
Committed by
Tianqi Chen
Oct 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save (#2015)
parent
74314d27
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
include/tvm/relay/expr.h
+3
-0
No files found.
include/tvm/relay/expr.h
View file @
26ceaac8
...
@@ -134,6 +134,7 @@ class VarNode : public ExprNode {
...
@@ -134,6 +134,7 @@ class VarNode : public ExprNode {
void
VisitAttrs
(
tvm
::
AttrVisitor
*
v
)
final
{
void
VisitAttrs
(
tvm
::
AttrVisitor
*
v
)
final
{
v
->
Visit
(
"name_hint"
,
&
name_hint
);
v
->
Visit
(
"name_hint"
,
&
name_hint
);
v
->
Visit
(
"type_annotation"
,
&
type_annotation
);
v
->
Visit
(
"type_annotation"
,
&
type_annotation
);
v
->
Visit
(
"span"
,
&
span
);
v
->
Visit
(
"_checked_type_"
,
&
checked_type_
);
v
->
Visit
(
"_checked_type_"
,
&
checked_type_
);
}
}
...
@@ -161,6 +162,7 @@ class GlobalVarNode : public ExprNode {
...
@@ -161,6 +162,7 @@ class GlobalVarNode : public ExprNode {
void
VisitAttrs
(
tvm
::
AttrVisitor
*
v
)
final
{
void
VisitAttrs
(
tvm
::
AttrVisitor
*
v
)
final
{
v
->
Visit
(
"name_hint"
,
&
name_hint
);
v
->
Visit
(
"name_hint"
,
&
name_hint
);
v
->
Visit
(
"span"
,
&
span
);
v
->
Visit
(
"_checked_type_"
,
&
checked_type_
);
v
->
Visit
(
"_checked_type_"
,
&
checked_type_
);
}
}
...
@@ -377,6 +379,7 @@ class TupleGetItemNode : public ExprNode {
...
@@ -377,6 +379,7 @@ class TupleGetItemNode : public ExprNode {
void
VisitAttrs
(
tvm
::
AttrVisitor
*
v
)
final
{
void
VisitAttrs
(
tvm
::
AttrVisitor
*
v
)
final
{
v
->
Visit
(
"tuple_value"
,
&
tuple
);
v
->
Visit
(
"tuple_value"
,
&
tuple
);
v
->
Visit
(
"index"
,
&
index
);
v
->
Visit
(
"index"
,
&
index
);
v
->
Visit
(
"span"
,
&
span
);
v
->
Visit
(
"_checked_type_"
,
&
checked_type_
);
v
->
Visit
(
"_checked_type_"
,
&
checked_type_
);
}
}
...
...
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