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
db3dcba2
Commit
db3dcba2
authored
Oct 25, 2018
by
雾雨魔理沙
Committed by
Tianqi Chen
Oct 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Relay] visit the span (#1990)
parent
55d26ae8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
include/tvm/relay/type.h
+6
-1
No files found.
include/tvm/relay/type.h
View file @
db3dcba2
...
...
@@ -161,6 +161,7 @@ class IncompleteTypeNode : public TypeNode {
void
VisitAttrs
(
tvm
::
AttrVisitor
*
v
)
final
{
v
->
Visit
(
"kind"
,
&
kind
);
v
->
Visit
(
"span"
,
&
span
);
}
TVM_DLL
static
IncompleteType
make
(
TypeVarNode
::
Kind
kind
);
...
...
@@ -243,7 +244,10 @@ class TupleTypeNode : public TypeNode {
TupleTypeNode
()
{}
void
VisitAttrs
(
tvm
::
AttrVisitor
*
v
)
final
{
v
->
Visit
(
"fields"
,
&
fields
);
}
void
VisitAttrs
(
tvm
::
AttrVisitor
*
v
)
final
{
v
->
Visit
(
"fields"
,
&
fields
);
v
->
Visit
(
"span"
,
&
span
);
}
TVM_DLL
static
TupleType
make
(
tvm
::
Array
<
Type
>
fields
);
...
...
@@ -361,6 +365,7 @@ class TypeRelationNode : public TypeConstraintNode {
v
->
Visit
(
"args"
,
&
args
);
v
->
Visit
(
"num_inputs"
,
&
num_inputs
);
v
->
Visit
(
"attrs"
,
&
attrs
);
v
->
Visit
(
"span"
,
&
span
);
}
TVM_DLL
static
TypeRelation
make
(
TypeRelationFn
func
,
...
...
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