Skip to content

Commit

Permalink
Add default loss for RNNOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
nyghtowl committed May 2, 2016
1 parent 3996c61 commit bb723e8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ private RnnOutputLayer(Builder builder){

@NoArgsConstructor
public static class Builder extends BaseOutputLayer.Builder<Builder> {

protected LossFunction lossFunction = LossFunction.MCXENT;

public Builder(LossFunction lossFunction) {
this.lossFunction = lossFunction;
}
Expand Down

0 comments on commit bb723e8

Please sign in to comment.