Keras v2.1.5 Release Notes

Release Date: 2018-03-06 // about 6 years ago
  • Areas of improvement

    • ๐Ÿ› Bug fixes.
    • ๐Ÿ†• New APIs: sequence generation API TimeseriesGenerator, and new layer DepthwiseConv2D.
    • ๐Ÿ‘ท Unit tests / CI improvements.
    • ๐Ÿ“š Documentation improvements.

    API changes

    • โž• Add new sequence generation API keras.preprocessing.sequence.TimeseriesGenerator.
    • โž• Add new convolutional layer keras.layers.DepthwiseConv2D.
    • ๐Ÿ‘ Allow weights from keras.layers.CuDNNLSTM to be loaded into a keras.layers.LSTM layer (e.g. for inference on CPU).
    • โž• Add brightness_range data augmentation argument in keras.preprocessing.image.ImageDataGenerator.
    • Add validation_split API in keras.preprocessing.image.ImageDataGenerator. You can pass validation_split to the constructor (float), then select between training/validation subsets by passing the argument subset='validation' or subset='training' to methods flow and flow_from_directory.

    ๐Ÿ’ฅ Breaking changes

    • ๐Ÿ”จ As a side effect of a refactor of ConvLSTM2D to a modular implementation, recurrent dropout support in Theano has been dropped for this layer.

    Credits

    ๐Ÿš€ Thanks to our 28 contributors whose commits are featured in this release:

    @DomHudson, @Dref360, @VitamintK, @abrad1212, @ahundt, @bojone, @brainnoise, @bzamecnik, @caisq, @cbensimon, @davinnovation, @farizrahman4u, @fchollet, @gabrieldemarmiesse, @khosravipasha, @ksindi, @lenjoy, @masstomato, @mewwts, @ozabluda, @paulpister, @sandpiturtle, @saralajew, @srjoglekar246, @stefangeneralao, @taehoonlee, @tiangolo, @treszkai