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
c3d96319
Commit
c3d96319
authored
Feb 20, 2019
by
eqy
Committed by
Yizhi Liu
Feb 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check in (#2627)
parent
615fd692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/tvm/relay/op/nn/_nn.py
+2
-2
No files found.
python/tvm/relay/op/nn/_nn.py
View file @
c3d96319
...
...
@@ -313,13 +313,13 @@ def compute_contrib_conv2d_NCHWc(attrs, inputs, out_dtype, target):
padding
=
attrs
.
get_int_tuple
(
"padding"
)
strides
=
attrs
.
get_int_tuple
(
"strides"
)
dilation
=
attrs
.
get_int_tuple
(
"dilation"
)
data_layout
=
attrs
.
get_str
(
"data_layout"
)
out_layout
=
attrs
.
get_str
(
"out_layout"
)
out_dtype
=
attrs
.
get_str
(
"out_dtype"
)
out_dtype
=
inputs
[
0
]
.
dtype
if
out_dtype
==
""
else
out_dtype
out
=
topi
.
nn
.
conv2d_NCHWc
(
inputs
[
0
],
inputs
[
1
],
strides
,
padding
,
dilation
,
out_layout
,
out_dtype
)
data_layout
,
out_layout
,
out_dtype
)
return
[
out
]
@reg.register_schedule
(
"nn.contrib_conv2d_NCHWc"
)
...
...
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