Keras 2.1.3
Areas of improvement
- Performance improvements (esp. convnets with TensorFlow backend).
- Usability improvements.
- Docs & docstrings improvements.
- New models in the
applications
module. - Bug fixes.
API changes
trainable
attribute inBatchNormalization
now disables the updates of the batch statistics (i.e. iftrainable == False
the layer will now run 100% in inference mode).- Add
amsgrad
argument inAdam
optimizer. - Add new applications:
NASNetMobile
,NASNetLarge
,DenseNet121
,DenseNet169
,DenseNet201
. - Add
Softmax
layer (removing need to use aLambda
layer in order to specify theaxis
argument). - Add
SeparableConv1D
layer. - In
preprocessing.image.ImageDataGenerator
, allowwidth_shift_range
andheight_shift_range
to take integer values (absolute number of pixels) - Support
return_state
inBidirectional
applied to RNNs (return_state
should be set on the child layer). - The string values
"crossentropy"
and"ce"
are now allowed in themetrics
argument (inmodel.compile()
), and are routed to eithercategorical_crossentropy
orbinary_crossentropy
as needed. - Allow
steps
argument inpredict_*
methods on theSequential
model. - Add
oov_token
argument inpreprocessing.text.Tokenizer
.
Breaking changes
- In
preprocessing.image.ImageDataGenerator
,shear_range
has been switched to use degrees rather than radians (for consistency). This should not actually break anything (neither training nor inference), but keep this change in mind in case you see any issues with regard to your image data augmentation process.
Credits
Thanks to our 45 contributors whose commits are featured in this release:
@Dref360, @OliPhilip, @TimZaman, @bbabenko, @bdwyer2, @berkatmaca, @caisq, @decrispell, @dmaniry, @fchollet, @fgaim, @gabrieldemarmiesse, @gklambauer, @hgaiser, @hlnull, @icyblade, @jgrnt, @kashif, @kouml, @lutzroeder, @m-mohsen, @mab4058, @manashty, @masstomato, @mihirparadkar, @myutwo150, @nickbabcock, @novotnj3, @obsproth, @ozabluda, @philferriere, @piperchester, @pstjohn, @roatienza, @souptc, @spiros, @srs70187, @sumitgouthaman, @taehoonlee, @tigerneil, @titu1994, @tobycheese, @vitaly-krumins, @yang-zhang, @ziky90