-
Notifications
You must be signed in to change notification settings - Fork 4.3k
CNTK_2_0_Beta_11_Release_Notes
Allison Brucker (Resources Online) edited this page May 30, 2017
·
2 revisions
This page has migrated to our new site. Please update any bookmarks.
This is a summary of new features delivered with the Beta 11 release of CNTK V.2.0.
This release contains the following breaking changes:
- Some changes were made to CNTK APIs. Please update your code as follows:
- All imports from
cntk.blocks
should be changed tocntk.layers
- Change calls to
Trainer()
fromTrainer(model, loss, metric, learners)
toTrainer(model, (loss, metric), learners)
- Calls to
splice()
should be changed fromsplice([a, b, c], 'my_name')
tosplice(a, b, c, name='my_name')
- Change
LayerStack(N, ...)
toFor(range(N), …)
- Calls to
reduce_log_sum()
need to be renamed toreduce_log_sum_exp()
- Explicit calls to
plus()
,log_add_exp()
andelement_times()
that pass a name must use the keywordname=...
- Change calls to
save_model()
andrestore_model()
tosave()
andrestore()
, respectively. Further,load_model()
can now optionally be written asFunction.load()
- All imports from
- CNTK NuGet package:
- CNTKLibraryManaged-2.0.dll now has a Strong Name (both GPU and CPU versions). Implementation details available in the description in the header of CNTKLibraryManagedDll-CPUOnly-AssemblyInfo.cs and CNTKLibraryManagedDll-GPU-AssemblyInfo.cs. This is in addition to EvalWrapper.dll which is strong name enabled since v.1.7.
- New
reduce_prod
primitive - Support for reductions across all axes (including batch and sequence axes)
- Improved denominator sharing in Batch Normalization.
batch_normalization (cntk.ops)
now takes an additional required parameter for the running mean sample count, which can be initialized withconstant(0)
- Added support for randomization window specified in terms of a number of chunks. Fix the default value for randomization window: unless explicitly overridden, it now defaults to 128 chunks. For more details, please see the section that describes
randomizationWindow
parameter: - New Python and BrainScript for VGG16 and 19
- Optimized memory management for convolution workspace, and now a larger (~30% for VGG) minibatch size can be used for training
- Profiler support in python. See more here
- Added support in training session for cross validation and preservation of all checkpoints
A new set of NuGet Packages is provided with this Release.
IMPORTANT! In Visual Studio Manage Nuget Packages Window change the default option Stable Only to Include Prerelease. Otherwise the packages will not be visible. The Package version should be 2.0-beta11
.
IMPORTANT! NuGet package in this Release contains a breaking change related to Assembly Strong Name enabling. See Breaking changes section in the beginning of these Release Notes.
- Re-enable image rendering in python notebooks when used with GitHub web viewer