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
f3122887
Commit
f3122887
authored
Oct 10, 2019
by
Leyuan Wang
Committed by
Tianqi Chen
Oct 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct error (#4093)
parent
9bbc98cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
topi/python/topi/intel_graphics/conv2d.py
+2
-1
No files found.
topi/python/topi/intel_graphics/conv2d.py
View file @
f3122887
...
@@ -237,7 +237,8 @@ def _alter_conv2d_layout(attrs, inputs, tinfo, F):
...
@@ -237,7 +237,8 @@ def _alter_conv2d_layout(attrs, inputs, tinfo, F):
if
cfg
.
is_fallback
:
if
cfg
.
is_fallback
:
_get_default_config
(
cfg
,
data
,
kernel
,
strides
,
padding
,
out_dtype
,
is_depthwise
)
_get_default_config
(
cfg
,
data
,
kernel
,
strides
,
padding
,
out_dtype
,
is_depthwise
)
ic_bn
,
oc_bn
=
cfg
[
"tile_ic"
]
.
size
[
-
1
],
cfg
[
"tile_oc"
]
.
size
[
-
1
]
ic_bn
=
cfg
[
"tile_ic"
]
.
val
if
hasattr
(
cfg
[
"tile_ic"
],
"val"
)
else
cfg
[
"tile_ic"
]
.
size
[
-
1
]
oc_bn
=
cfg
[
"tile_oc"
]
.
val
if
hasattr
(
cfg
[
"tile_oc"
],
"val"
)
else
cfg
[
"tile_oc"
]
.
size
[
-
1
]
new_attrs
[
layout_name
]
=
'NCHW
%
dc'
%
ic_bn
new_attrs
[
layout_name
]
=
'NCHW
%
dc'
%
ic_bn
new_attrs
[
'out_layout'
]
=
'NCHW
%
dc'
%
oc_bn
new_attrs
[
'out_layout'
]
=
'NCHW
%
dc'
%
oc_bn
...
...
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