Skip to content

Commit

Permalink
Merge branch 'keras-2' of github.com:fchollet/keras into keras-2
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Mar 13, 2017
2 parents 640d1db + 3916e62 commit 37e8234
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
from keras.layers import advanced_activations
from keras.layers import embeddings
from keras.layers import wrappers
from keras.layers import merge
from keras import optimizers
from keras import callbacks
from keras import models
Expand Down Expand Up @@ -224,7 +225,7 @@
},
{
'page': 'layers/merge.md',
'all_module_classes': [keras.merge],
'all_module_classes': [merge],
},
{
'page': 'layers/wrappers.md',
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pages:
- Datasets: datasets.md
- Applications: applications.md
- Backend: backend.md
- Initializations: initializations.md
- Initializers: initializers.md
- Regularizers: regularizers.md
- Constraints: constraints.md
- Visualization: visualization.md
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/activations.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ You can also pass an element-wise Tensorflow/Theano function as an activation:
```python
from keras import backend as K

model.add(Dense(64, activation=K.tanh)
model.add(Activation(K.tanh)
model.add(Dense(64, activation=K.tanh))
model.add(Activation(K.tanh))
```

## Available activations
Expand Down

0 comments on commit 37e8234

Please sign in to comment.