Skip to content

Commit

Permalink
Update regularizers docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Mar 15, 2017
1 parent e98379b commit 36e526e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/templates/regularizers.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ These layers expose 3 keyword arguments:
## Example

```python
from keras.regularizers import l2, activity_l2
from keras import regularizers
model.add(Dense(64, input_dim=64,
kernel_regularizer=l2(0.01),
activity_regularizer=activity_l2(0.01)))
kernel_regularizer=regularizers.l2(0.01),
activity_regularizer=regularizers.l1(0.01)))
```

## Available penalties
Expand Down

0 comments on commit 36e526e

Please sign in to comment.