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
cdee6a79
Commit
cdee6a79
authored
Apr 14, 2018
by
Lianmin Zheng
Committed by
Tianqi Chen
Apr 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
register depthwise conv2d as generic function (#1108)
parent
8eebf5f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
topi/python/topi/nn/depthwise_conv2d.py
+2
-0
No files found.
topi/python/topi/nn/depthwise_conv2d.py
View file @
cdee6a79
...
...
@@ -9,6 +9,7 @@ from .util import get_pad_tuple
from
..util
import
simplify
@tvm.target.generic_func
def
depthwise_conv2d_nchw
(
Input
,
Filter
,
stride
,
padding
,
out_dtype
=
'float32'
):
"""Depthwise convolution nchw forward operator.
...
...
@@ -63,6 +64,7 @@ def depthwise_conv2d_nchw(Input, Filter, stride, padding, out_dtype='float32'):
return
Output
@tvm.target.generic_func
def
depthwise_conv2d_nhwc
(
Input
,
Filter
,
stride
,
padding
):
"""Depthwise convolution nhwc forward operator.
...
...
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