Skip to content

Commit

Permalink
add rectified linear
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Gibson committed May 1, 2015
1 parent 6c99430 commit 5c82e93
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ public Accumulation createAccum(String name, INDArray x, INDArray y) {
@Override
public TransformOp createTransform(String name, INDArray x, INDArray y) {
switch (name) {
case "relu":
return new RectifedLinear(x,0);
case "abs":
return new Abs(x, y);
case "acos":
Expand Down

0 comments on commit 5c82e93

Please sign in to comment.