Update regularizers docs
@@ -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
