@gwtnb gwtnb released this Nov 17, 2017 · 337 commits to v3 since this release

Assets 2

This is a minor release. See the list for the complete list of solved issues and merged PRs.

Spotlight features

  • A lot of new double-backpropable functions have been added.
  • Autotuner for cuDNN convolution functions is now available. Just add this one line chainer.global_config.autotune = True for optimizing your ConvNets.

New Features

Improvements

  • Relax int type restriction (#3700)
  • Allow to_gpu and to_cpu to accept NumPy scalars (#3748)
  • Support file-like object in npz serializer (#3758, #3882)
  • Avoid zero-division warning in F.r2_score (#3777)
  • Raise user-friendly error when FunctionNode is used like Function object (#3780)
  • fix F.inv to raise exception when input has singular matrices (#3784)
  • Remove unnecessary branch in minimum forward. (#3836)
  • Check too small eps in Adam and RMSprop optimizers (#3783)

Bug fixes

  • Prevent ZeroDivisionError in softmax_cross_entropy when input size is 0 (#3656, thanks @knorth55!)
  • Fix xxx_pooling_nd causes CUDNN_STATUS_NOT_SUPPORTED for dims > 3 (#3722)
  • Fix LSTM bias initialization (#3731)
  • Fix the problem with resuming training when switching the freezing layers (#3800, thanks @jinjiren!)
  • Avoid zero division error in linear init call (#3885)

Documents

  • Add tutorials
    • Trainer tutorial (#3803)
    • Trainer extensions tutorial (#3646)
  • Improve TupleDataset documentation (#3438)
  • Documentation fix in FunctionNode (#3444)
  • Improve docs of n_step_lstm (#3471)
  • Fix dead links to modules in tutorial (#3501)
  • Improve doc of sum (#3502, thanks @akitotakeki!)
  • Add get_conv_outsize and get_deconv_outsize to doc (#3597)
  • Improve docs of huber_loss (#3605, thanks @naoto0804!)
  • Improve docs of sigmoid_cross_entropy (#3606, thanks @naoto0804!)
  • Improve docs of contrastive and triplet (#3607, thanks @naoto0804!)
  • Fix documention error in Function (#3637)
  • Add experimental warning in docstring (#3648)
  • Add a note to the doc of Evaluator.evaluate (#3667)
  • Fix CuPy intersphinx mapping (#3687)
  • Document get_svhn (#3690)
  • Fix CuPy overview link not working (#3695)
  • Add CUDAProfileHook and CupyMemoryProfileHook to the reference (#3709, thanks @ronekko!)
  • Fix split_axis documentation (#3712)
  • Improve doc of context managers (#3719)
  • Improve doc of configuration flags (#3720)
  • Fix contribution guide for test framework change (#3726)
  • Fix case in doc (#3749)
  • Fix doc in Forget (#3773)
  • Improve docs of F.forget (#3791)
  • Document initializer criteria (#3801)
  • Sort out navigation menu (#3812)
  • Fix doctest failure in trainer tutorial (#3888)
  • Fix typo (#3635, #3638, #3639)
  • Fix doctest (#3647, #3651)

Tests

  • Move to PyTest
    • Replace the test framework with PyTest (#3591, #3602, #3694)
    • Configure AppVeyor to use PyTest (#3596)
    • Use pytest-warnings to set warnings configuration (#3778)
    • Remove nose dependency in tests (#3724)
  • Use Python 3.4.4 on Travis OSX Python 3.4 case (#3629)
  • Fix test_init_docstring (#3636)
  • Fix math function testing helper to support new style functions. (#3665)
  • Run OS X test only on master/stable branch to avoid delay (#3676)
  • Always cast all inputs to given dtype in gradient check (#3679)
  • Fix decorators to allow users to filter test cases by number of GPUs (#3683)
  • Fix to skip GPU tests on AppVeyor (#3693)
  • Fix math function test helper to support double backward test of linear functions(#3706)
  • Richer gradient check output (#3713)
  • Check deprecation warining in Travis (#3721)
  • Fix decorators to allow users to filter test cases by number of GPUs (#3723)
  • Use python 3.5 for doctest (#3727)
  • Fix normalization warning in F.average test (#3729)
  • Fix F.inv test does not test type error as expected (#3775)
  • Directional derivative (#3790)
  • Add double-backward test for F.inv and F.batch_inv (#3820)
  • Fix test condition in function tutorial (#3873)
  • Setup random of Python library in testing/random (#3655)
  • Fix coveragerc to measure branch coverage and only target chainer module (#3710)
  • Test stability fix
    • F.upsampling_2d (#3826)
    • F.deconvolution2d (#3640)
    • F.ceil and F.floor (#3439)
    • F.roi_pooling_2d (#3381)
    • F.roll_axis (#3384)
    • F.depth2space, F.space2depth (#3893)
    • F.fmod (#3838)

Others

  • Warn about vecLib on Mac OS X (#3692)
  • Update stable version link in README (#3746)
  • Improve version embedding (#3739)
  • Rename plot -> plt (#3714, thanks @Hakuyume!)

Install

  • Remove requirements for unit testing (#3682)