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
7384cd0f
Commit
7384cd0f
authored
Jul 07, 2018
by
Tatsuya Nishiyama
Committed by
Tianqi Chen
Jul 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tutorial to follow the conv2d change (#1390)
parent
e1283ff5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
tutorials/topi/intro_topi.py
+1
-1
No files found.
tutorials/topi/intro_topi.py
View file @
7384cd0f
...
@@ -107,7 +107,7 @@ with tvm.target.create("cuda"):
...
@@ -107,7 +107,7 @@ with tvm.target.create("cuda"):
#
#
data
=
tvm
.
placeholder
((
1
,
3
,
224
,
224
))
data
=
tvm
.
placeholder
((
1
,
3
,
224
,
224
))
kernel
=
tvm
.
placeholder
((
10
,
3
,
5
,
5
))
kernel
=
tvm
.
placeholder
((
10
,
3
,
5
,
5
))
conv
=
topi
.
nn
.
conv2d
(
data
,
kernel
,
stride
=
1
,
padding
=
2
)
conv
=
topi
.
nn
.
conv2d
(
data
,
kernel
,
stride
s
=
1
,
padding
=
2
)
out
=
topi
.
nn
.
relu
(
conv
)
out
=
topi
.
nn
.
relu
(
conv
)
with
tvm
.
target
.
create
(
"cuda"
):
with
tvm
.
target
.
create
(
"cuda"
):
sconv
=
topi
.
generic
.
nn
.
schedule_conv2d_nchw
(
out
)
sconv
=
topi
.
generic
.
nn
.
schedule_conv2d_nchw
(
out
)
...
...
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