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
c24e82e3
Commit
c24e82e3
authored
Apr 05, 2018
by
Yuanbo Ye
Committed by
Tianqi Chen
Apr 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TOPI] fix bug of leaky_relu type issue (#1076)
Signed-off-by: Janboe Ye <yeyuanbo@xiaomi.com>
parent
9fb26056
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
topi/include/topi/nn.h
+1
-1
No files found.
topi/include/topi/nn.h
View file @
c24e82e3
...
...
@@ -78,7 +78,7 @@ inline tvm::Tensor leaky_relu(const tvm::Tensor& t,
[
&
](
const
tvm
::
Array
<
tvm
::
Var
>&
i
)
{
auto
value
=
t
(
i
);
auto
calpha
=
tvm
::
make_const
(
value
.
type
(),
alpha
);
return
tvm
::
select
(
value
>
0
,
value
,
value
*
alpha
);
return
tvm
::
select
(
value
>
0
,
value
,
value
*
c
alpha
);
},
name
,
tag
);
...
...
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