-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Breaking changes in Master compared to beta15
Emad Barsoum edited this page Mar 25, 2017
·
22 revisions
After we shipped beta15, we have mad some breaking changes that is currently in master. This breaking changes will make it to our release candidate 1 soon.
Based on the feedbacks that we got, we are changing some APIs, refactor some code, deprecated old APIs and changing namespaces to a more logical hierarchy. The plan is that after the release Candidate there will be very little breaking change.
Here current breaking changes:
- NDArrayView's data() method is now a property
- Namespaces:
- Readers are exposed through cntk.io namespace, they aren't imported to the root cntk namespace anymore.
- Print progress has moved to cntk.logging.
- All debugging APIs have moved to cntk.debugging.
- Losses and metrics have moved to cntk.losses and cntk.metrics respectively.
- All learner are under cntk.learners namespace.
- trainer, training_session, and distributed have moved to cntk.train namespace.
- variables module has moved to cntk root namespace.
- one_hot function is now a static method in Value class.
- value_to_seq and value_variable_to_seq functions are now a method in Value class and renamed to to_seq.
- Move profiler APIs to CNTK.debugging.
- Layers APIs aren't loaded by default, so you need "from cntk.layers import *".
- cntk.utils is gone.
- cntk.learner is gone.
- Evaluating a node that has only the batch axis and no sequence axis, previously always returned the result containing a sequence dimension. This was fixed, i.e., it will now only output the batch axis.
- adam_sgd is deprecated:
- If you used adam_sgd with low_memory equal True or didn't specify low_memory, then use fsadagrad.
- Otherwise, use adam, which matches the published ADAM method.