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
b7364b42
Unverified
Commit
b7364b42
authored
Feb 10, 2020
by
Leyuan Wang
Committed by
GitHub
Feb 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reverse changes in pr #4849 (#4853)
parent
0dbe70c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
topi/python/topi/intel_graphics/conv2d.py
+20
-20
No files found.
topi/python/topi/intel_graphics/conv2d.py
View file @
b7364b42
...
@@ -50,27 +50,27 @@ def _get_default_config(cfg, data, kernel, strides, padding, out_dtype, is_depth
...
@@ -50,27 +50,27 @@ def _get_default_config(cfg, data, kernel, strides, padding, out_dtype, is_depth
oc_bn
=
i
oc_bn
=
i
break
break
if
HSTR
==
2
:
if
HSTR
==
2
:
if
out_channel
+
hkernel
==
515
:
if
out_channel
+
hkernel
==
515
:
block_oh
=
4
block_oh
=
4
block_ow
=
4
block_ow
=
4
else
:
block_oh
=
4
block_ow
=
5
elif
hkernel
==
3
:
if
out_channel
==
512
:
block_oh
=
2
block_ow
=
7
else
:
block_oh
=
2
block_ow
=
14
else
:
else
:
block_oh
=
1
block_oh
=
4
block_ow
=
16
block_ow
=
5
cfg
[
"tile_ic"
]
=
SplitEntity
([
in_channel
//
ic_bn
,
ic_bn
])
elif
hkernel
==
3
:
cfg
[
"tile_oc"
]
=
SplitEntity
([
out_channel
//
oc_bn
,
oc_bn
])
if
out_channel
==
512
:
cfg
[
"block_oh"
]
=
OtherOptionEntity
(
block_oh
)
block_oh
=
2
cfg
[
"block_ow"
]
=
OtherOptionEntity
(
block_ow
)
block_ow
=
7
else
:
block_oh
=
2
block_ow
=
14
else
:
block_oh
=
1
block_ow
=
16
cfg
[
"tile_ic"
]
=
SplitEntity
([
in_channel
//
ic_bn
,
ic_bn
])
cfg
[
"tile_oc"
]
=
SplitEntity
([
out_channel
//
oc_bn
,
oc_bn
])
cfg
[
"block_oh"
]
=
OtherOptionEntity
(
block_oh
)
cfg
[
"block_ow"
]
=
OtherOptionEntity
(
block_ow
)
def
_create_schedule_template
(
cfg
,
data
,
kernel
,
strides
,
padding
,
dilation
,
layout
):
def
_create_schedule_template
(
cfg
,
data
,
kernel
,
strides
,
padding
,
dilation
,
layout
):
...
...
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