Skip to content

Commit 1aec8ae

Browse files
nzw0301fchollet
authored andcommitted
Fix code snippet (keras-team#8093)
1 parent 2ba3b00 commit 1aec8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/templates/constraints.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ These layers expose 2 keyword arguments:
1111

1212

1313
```python
14-
from keras.constraints import maxnorm
14+
from keras.constraints import max_norm
1515
model.add(Dense(64, kernel_constraint=max_norm(2.)))
1616
```
1717

0 commit comments

Comments
 (0)