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
641024f5
Commit
641024f5
authored
Dec 27, 2019
by
deepIgnorance
Committed by
Yao Wang
Dec 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX][TOPI][X86] schedule dense pack (#4539)
parent
672b0909
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
topi/python/topi/x86/dense.py
+2
-2
No files found.
topi/python/topi/x86/dense.py
View file @
641024f5
...
...
@@ -59,8 +59,8 @@ def _declaration_dense_pack(cfg, data, weight, bias=None, out_dtype=None):
M
,
K
=
get_const_tuple
(
data
.
shape
)
# batch, in_dim
N
,
_
=
get_const_tuple
(
weight
.
shape
)
# out_dim
# create tuning space
cfg
.
define_split
(
"tile_y"
,
32
if
isinstance
(
M
,
tvm
.
expr
.
Var
)
else
M
,
num_outputs
=
2
)
cfg
.
define_split
(
"tile_x"
,
32
if
isinstance
(
N
,
tvm
.
expr
.
Var
)
else
N
,
num_outputs
=
2
)
cfg
.
define_split
(
"tile_y"
,
32
if
isinstance
(
M
,
tvm
.
expr
.
Var
)
else
M
,
num_outputs
=
3
)
cfg
.
define_split
(
"tile_x"
,
32
if
isinstance
(
N
,
tvm
.
expr
.
Var
)
else
N
,
num_outputs
=
3
)
cfg
.
define_split
(
"tile_k"
,
32
if
isinstance
(
K
,
tvm
.
expr
.
Var
)
else
K
,
num_outputs
=
2
)
if
cfg
.
is_fallback
:
_default_dense_pack_config
(
cfg
,
M
,
N
,
K
)
...
...
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