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
62aac9f1
Commit
62aac9f1
authored
Dec 16, 2019
by
Liang ZOU
Committed by
Tianqi Chen
Dec 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ir] use DataType instead of Type for readability because Type has been deprecated (#4513)
parent
97a26bf6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
include/tvm/ir.h
+5
-5
No files found.
include/tvm/ir.h
View file @
62aac9f1
...
@@ -50,7 +50,7 @@ class UIntImm : public ExprNode {
...
@@ -50,7 +50,7 @@ class UIntImm : public ExprNode {
v
->
Visit
(
"value"
,
&
value
);
v
->
Visit
(
"value"
,
&
value
);
}
}
TVM_DLL
static
Expr
make
(
Type
t
,
uint64_t
value
);
TVM_DLL
static
Expr
make
(
Data
Type
t
,
uint64_t
value
);
static
constexpr
const
char
*
_type_key
=
"UIntImm"
;
static
constexpr
const
char
*
_type_key
=
"UIntImm"
;
TVM_DECLARE_NODE_TYPE_INFO
(
UIntImm
,
ExprNode
);
TVM_DECLARE_NODE_TYPE_INFO
(
UIntImm
,
ExprNode
);
...
@@ -67,7 +67,7 @@ class FloatImm : public ExprNode {
...
@@ -67,7 +67,7 @@ class FloatImm : public ExprNode {
v
->
Visit
(
"value"
,
&
value
);
v
->
Visit
(
"value"
,
&
value
);
}
}
TVM_DLL
static
Expr
make
(
Type
t
,
double
value
);
TVM_DLL
static
Expr
make
(
Data
Type
t
,
double
value
);
static
constexpr
const
char
*
_type_key
=
"FloatImm"
;
static
constexpr
const
char
*
_type_key
=
"FloatImm"
;
TVM_DECLARE_NODE_TYPE_INFO
(
FloatImm
,
ExprNode
);
TVM_DECLARE_NODE_TYPE_INFO
(
FloatImm
,
ExprNode
);
...
@@ -104,7 +104,7 @@ class Cast : public ExprNode {
...
@@ -104,7 +104,7 @@ class Cast : public ExprNode {
v
->
Visit
(
"value"
,
&
value
);
v
->
Visit
(
"value"
,
&
value
);
}
}
TVM_DLL
static
Expr
make
(
Type
t
,
Expr
v
);
TVM_DLL
static
Expr
make
(
Data
Type
t
,
Expr
v
);
static
constexpr
const
char
*
_type_key
=
"Cast"
;
static
constexpr
const
char
*
_type_key
=
"Cast"
;
TVM_DECLARE_NODE_TYPE_INFO
(
Cast
,
ExprNode
);
TVM_DECLARE_NODE_TYPE_INFO
(
Cast
,
ExprNode
);
...
@@ -387,7 +387,7 @@ class Load : public ExprNode {
...
@@ -387,7 +387,7 @@ class Load : public ExprNode {
v
->
Visit
(
"predicate"
,
&
predicate
);
v
->
Visit
(
"predicate"
,
&
predicate
);
}
}
TVM_DLL
static
Expr
make
(
Type
type
,
Var
buffer_var
,
Expr
index
,
Expr
predicate
);
TVM_DLL
static
Expr
make
(
Data
Type
type
,
Var
buffer_var
,
Expr
index
,
Expr
predicate
);
static
constexpr
const
char
*
_type_key
=
"Load"
;
static
constexpr
const
char
*
_type_key
=
"Load"
;
TVM_DECLARE_NODE_TYPE_INFO
(
Load
,
ExprNode
);
TVM_DECLARE_NODE_TYPE_INFO
(
Load
,
ExprNode
);
...
@@ -531,7 +531,7 @@ class Call : public ExprNode {
...
@@ -531,7 +531,7 @@ class Call : public ExprNode {
v
->
Visit
(
"value_index"
,
&
value_index
);
v
->
Visit
(
"value_index"
,
&
value_index
);
}
}
TVM_DLL
static
Expr
make
(
Type
type
,
TVM_DLL
static
Expr
make
(
Data
Type
type
,
std
::
string
name
,
std
::
string
name
,
Array
<
Expr
>
args
,
Array
<
Expr
>
args
,
CallType
call_type
,
CallType
call_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