Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
Amit Agarwal 360b337be0 CNTK v2 library: Several python side big fixes and added errors for incompatible datatypes between operands 2016-10-04 01:32:33 -07:00
Amit Agarwal 71f742ec61 CNTK v2 library: Few bug fixes, minor API changes and added scripts for ease of building/testing bindings from sources on Windows 2016-10-02 20:45:07 -07:00
Mark Hillebrand 4d206d1990 Merge remote-tracking branch 'origin/master' into wilrich/miscAlpha2
__ test_op_plus_var_sequences_input_input broken, disabled for now.
2016-09-30 17:56:18 +02:00
Amit Agarwal d0d0de6eee CNTK v2 library: Fix broken python examples and a bug in python Parameter construction wrapper 2016-09-30 03:46:13 -07:00
Amit Agarwal bde0b3390d CNTK v2 library: Addressed CR feedback and added verification in Forward method call that values for all required arguments that the requested outputs depend on have been supplied 2016-09-29 18:21:25 -07:00
Amit Agarwal 762b4c2880 CNTK v2 library: Fixed a bug in counting samples for computing criterion value 2016-09-29 02:48:13 -07:00
Amit Agarwal ec89875fd9 Merge branch 'master' of https://github.com/Microsoft/CNTK into amitaga/cntkv2Library 2016-09-28 13:15:01 -07:00
Amit Agarwal 67db468086 CNTK v2 library: Automatic unpacking of PackedValuye objects when needed 2016-09-28 13:14:37 -07:00
Willi Richert 742a8fd08d Support for varying learning rates 2016-09-28 18:17:24 +02:00
Amit Agarwal 0dc5f9c9af CNTK v2 library: Fixed a bug in > 1D reductions and minor bugs in applying the name attribute to primitive functions in the Function graph APIs 2016-09-27 22:25:31 -07:00
Amit Agarwal 0544914b81 Merge branch 'master' of https://github.com/Microsoft/CNTK into amitaga/cntkv2Library 2016-09-26 20:38:33 -07:00
Amit Agarwal e8baff14ec CNTK v2 library: a) Implemented PackedValue to avoid unnecessary unpacking and packing of packed sequences produced by built-in CNTK readers b) Implemented truncated sequence handling in V2 API 2016-09-26 20:36:27 -07:00
Willi Richert bd70d56e65 Some fixes and doc updates 2016-09-26 19:58:07 +02:00
Willi Richert 37b54bb30e Use C++'s operator== when comparing DeviceDescriptors 2016-09-26 19:03:37 +02:00
Willi Richert 5496b1a513 Linux setup 2016-09-26 19:03:10 +02:00
Alexey Reznichenko 73a915f078 Extend V2 devices api.
Add api to enumerate all devices
    In GPUDevice check if gpu id is valid
    Add DeviceDescriptor::BestDevice
2016-09-24 05:12:28 +02:00
Amit afa20f1bc1 CNTK v2 library: Address linux build issues 2016-09-22 00:54:01 -07:00
Amit Agarwal 3993d985a1 CNTK v2 library: Simplified and more flexible APIs for various parameter initialization methods 2016-09-21 18:47:15 -07:00
Amit Agarwal c8498cbbb0 CNTK v2 library: Several bug fixes 2016-09-20 22:54:07 -07:00
Amit Agarwal 867ace750c CNTK V2 library: Enabled non scalar initial value for Past/Future value nodes and other bug fixes 2016-09-17 20:13:05 -07:00
Amit Agarwal 292f1efb23 CNTK v2 library: Fixed a bug in the v2 library's handling of slice operation and addressed CR feedback 2016-09-14 16:01:06 -07:00
Amit Agarwal 226493eceb CNTK v2 library: Added clone functionality, proper propagation of shapes/datatypes on placeholder replacements, and some other misc changes 2016-09-13 17:30:19 -07:00
Amit Agarwal 12a0220b15 CNTK v2 library: Cleaned up python examples and added some inline documentation 2016-09-05 06:04:56 -07:00
Amit Agarwal 3f9f248146 Merge branch 'master' of https://github.com/Microsoft/CNTK into amitaga/cntkv2LibraryOperators 2016-09-03 17:31:11 -07:00
Amit Agarwal abf468097b CNTK v2 library: Trainer checkpointing and some MinibatchSource creation helper APIs 2016-09-03 17:31:02 -07:00
Amit Agarwal dae3967e05 CNTK v2 library: Some API simplifications and initial stab at trainer checkpointing (not yet functional) 2016-09-02 06:12:07 -07:00
jeanfad 9afffea658 rebase on master and adjust 2016-09-01 14:07:03 +02:00
Amit Agarwal 7a5c133edc CNTK v2 library: Added Seq2Seq implementation as a test using V2 C++ API and other related changes 2016-08-30 22:50:25 -07:00
Amit Agarwal 4299d870c8 CNTK v2 library: API simplifcation, added new primitive Functions and addressed pending CR feedback 2016-08-26 18:29:30 -07:00
Mark Hillebrand 66498cf414 Merge remote-tracking branch 'origin/master' into mahilleb/CuDnn5Test
Note: baselines need to be fixed for
Tests/EndToEndTests/BatchNormalization and
Tests/EndToEndTests/Examples/Image/Miscellaneous/CIFAR-10/02_BatchNormConv.
2016-08-23 11:12:35 +02:00
Mark Hillebrand f76afa2b7e Switch to CuDNN v5
For batch normalization, running inverse standard deviation becomes
running variance. We mirror this CuDNN v5 change in the CNTK batch
normalization engine. Model version is bumped. When old models are
loaded, this parameter is (approximately) converted.

In the same model version change, let batch normalization count
samples seen rather minibatches (this deals with incorrect averaging
when minibatch size is varied across epochs).

For batch normalization averaging and blending handle initialization
cases, don't rely on mean and variance initial values (set in
NDL/BrainScript).

Update Windows / Linux / Docker build.
With this commit, CuDNN v4 is not supported anymore.
2016-08-22 17:55:10 +02:00
Amit Agarwal 668b6a467f Merge branch 'master' of https://github.com/Microsoft/CNTK into amitaga/cntkv2Library 2016-08-21 03:52:37 -07:00
Amit Agarwal fa4b99d102 CNTK v2 Library: a) Add dynamic axis support b) New primitive functions and some higher level functions and c) Sequence classification test 2016-08-21 03:49:03 -07:00
Alexey Reznichenko 9bd9308d2e Improve V2 Learner API, add basic serialization.
FSAdaGrad, RMSProp: pre-allocate smoothed gradients with expected
    number of columns.
    Improve configuring built-in learners: add learning rates and
    momentums schedules.
    Add NDArrayView as a DictionaryValue type.
    Add tests for serialization and basic learner functionality.
2016-08-18 15:06:54 +02:00
jeanfad a5614771ec adapt swig wraper to the new getNextMiniBatch 2016-08-09 16:14:19 +02:00
jeanfad 2e6a7116b2 merge with master 2016-08-08 15:12:30 +02:00
jeanfad 573fab1d25 first training run with readers config 2016-08-02 16:52:12 +02:00
Amit Agarwal 0854708400 CNTK v2 library: a) Convolution b) Mean variance normalization c) Added Cifar resnet test 2016-07-30 16:16:41 -07:00
jeanfad 4a8be29046 temporarly comment one of Variable constructors, and add initial wrapper for vector<FunctionPtr> 2016-07-27 15:21:15 +02:00
jeanfad b119474d49 resolve conflicts after merging with master 2016-07-27 10:12:08 +02:00
Amit Agarwal fcc9d09122 Cherry-pick from amitaga/cntkv2Library: CNTK v2 library: Add member method to NDMask to enable retreiving the buffer underlying a Mask object
Conflicts:
	Source/CNTKv2LibraryDll/NDMask.cpp
2016-07-26 14:23:31 +02:00
Amit Agarwal 759fa18a7c CNTK v2 library: Add member method to NDMask to enable retreiving the buffer underlying a Mask object 2016-07-25 22:43:11 -07:00
Amit Agarwal 3e6926deb0 Merge branch 'master' of https://github.com/Microsoft/CNTK into amitaga/cntkv2LibraryOperators 2016-07-25 16:52:15 -07:00
Amit Agarwal a632393c11 CNTK v2 library: Expose 18 additional operators in the v2 API 2016-07-22 18:41:48 -07:00
Amit Agarwal 5b1c217688 CNTK v2 library: Added initial Trainer and MinibatchSource implementations, enabling end-to-end model training with v2 API. A test added to train a feed-forward network on the MNIST dataset using the v2 C++ API 2016-07-22 16:46:09 -07:00
jeanfad 48379019bf fixed needed to run swig after merge with master 2016-07-21 17:45:04 +02:00
jeanfad 60bcf71314 merge with master, remove tabs 2016-07-21 14:32:42 +02:00
jeanfad a79f6b3c9a merge with master 2016-07-21 14:17:19 +02:00
Amit Agarwal 9ba93ab84e CNTK v2 library: Added support for loading legacy v1 format models and saving models in v1 format 2016-07-17 16:44:44 -07:00
Willi Richert d6c9239478 Remove unused comparison operator for Variable 2016-07-15 15:14:03 +02:00