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
325c8274
Commit
325c8274
authored
Jul 27, 2018
by
Tianqi Chen
Committed by
GitHub
Jul 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NNVM] Fix check in layout parsing (#1502)
* [NNVM] Fix check in layout parsing * add one workload
parent
499ee952
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
nnvm/include/nnvm/layout.h
+1
-1
vta/python/vta/top/arm_conv2d.py
+2
-0
No files found.
nnvm/include/nnvm/layout.h
View file @
325c8274
...
@@ -298,7 +298,7 @@ class Layout {
...
@@ -298,7 +298,7 @@ class Layout {
std
::
ostringstream
repr
;
std
::
ostringstream
repr
;
if
(
is_subdim
(
layout_simplified_
[
i
]))
{
if
(
is_subdim
(
layout_simplified_
[
i
]))
{
auto
factor
=
subsizeof
(
layout_simplified_
[
i
]);
auto
factor
=
subsizeof
(
layout_simplified_
[
i
]);
CHECK_
L
T
(
factor
,
0
);
CHECK_
G
T
(
factor
,
0
);
repr
<<
factor
;
repr
<<
factor
;
}
}
repr
<<
layout_simplified_
[
i
];
repr
<<
layout_simplified_
[
i
];
...
...
vta/python/vta/top/arm_conv2d.py
View file @
325c8274
...
@@ -11,6 +11,7 @@ from topi.rasp import conv2d as _rasp_conv2d
...
@@ -11,6 +11,7 @@ from topi.rasp import conv2d as _rasp_conv2d
from
topi
import
generic
from
topi
import
generic
_WORKLOADS
=
[
_WORKLOADS
=
[
Workload
(
'float32'
,
'float32'
,
224
,
224
,
3
,
64
,
7
,
7
,
3
,
3
,
2
,
2
),
Workload
(
'int8'
,
'int32'
,
224
,
224
,
3
,
64
,
7
,
7
,
3
,
3
,
2
,
2
),
Workload
(
'int8'
,
'int32'
,
224
,
224
,
3
,
64
,
7
,
7
,
3
,
3
,
2
,
2
),
Workload
(
'int8'
,
'int32'
,
56
,
56
,
64
,
64
,
3
,
3
,
1
,
1
,
1
,
1
),
Workload
(
'int8'
,
'int32'
,
56
,
56
,
64
,
64
,
3
,
3
,
1
,
1
,
1
,
1
),
Workload
(
'int8'
,
'int32'
,
56
,
56
,
64
,
64
,
1
,
1
,
0
,
0
,
1
,
1
),
Workload
(
'int8'
,
'int32'
,
56
,
56
,
64
,
64
,
1
,
1
,
0
,
0
,
1
,
1
),
...
@@ -27,6 +28,7 @@ _WORKLOADS = [
...
@@ -27,6 +28,7 @@ _WORKLOADS = [
_SCHEDULES
=
[
_SCHEDULES
=
[
# float32 imagenet
# float32 imagenet
SpatialPack
(
1
,
8
,
4
,
1
,
4
,
True
),
SpatialPack
(
1
,
8
,
4
,
1
,
4
,
True
),
SpatialPack
(
1
,
8
,
4
,
1
,
4
,
True
),
SpatialPack
(
1
,
7
,
4
,
2
,
4
,
True
),
SpatialPack
(
1
,
7
,
4
,
2
,
4
,
True
),
SpatialPack
(
1
,
4
,
8
,
4
,
1
,
True
),
SpatialPack
(
1
,
4
,
8
,
4
,
1
,
True
),
SpatialPack
(
1
,
4
,
4
,
1
,
16
,
False
),
SpatialPack
(
1
,
4
,
4
,
1
,
16
,
False
),
...
...
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