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

122 Коммитов

Автор SHA1 Сообщение Дата
Malcolm Slaney 33e48b635f First attempt at getting stuff to compile under Linux. Not everything
in Math/Math works, but hopefully this is forward progress.
2014-10-30 17:41:20 -07:00
Malcolm Slaney c848afb42b Starting to fix things so they run under Linux 2014-10-30 17:41:12 -07:00
Frank Seide 88125bec4c get/setfiletime() removed, as they are only used by functions identical to existing fuptodate() and fexists(), which we use instead 2014-10-30 16:40:23 -07:00
Frank Seide 9fe2259f15 added two missing headers for compiling with GCC;
dummy implementation utf8() and utf16() for GCC (which currently only works for 7-bit ASCII characters)
2014-10-30 16:28:43 -07:00
Frank Seide 69643b7a94 removed WAV reading from fileutil.h, to remove an unnecessary Win32 dependency;
changed a 'byte*' to a 'char*' in GPUSparseMatrix.cu allowing to remove dependency on Windows.h;
fixed a Sleep() call for Linux compat
2014-10-30 14:41:33 -07:00
Frank Seide 1e236a181f grouped projects into Solution folders;
removed unused Win32 and Mixed configurations
2014-10-30 11:02:49 -07:00
Frank Seide 8ac0d24f03 Runtime/LogicError() now return 'bool' so that they can be used in a form DOSTUFF() || RuntimeError() if DOSTUFF() returns false upon failure. This is a common pattern in perl code and can improve readability by getting if statements out of your face. 2014-10-30 10:50:04 -07:00
Frank Seide 29f5adff6e removed message.h from Solution 2014-10-30 10:38:38 -07:00
Frank Seide b678e92596 msra_mgram.h no longer uses MESSAGE(_NOLF) macros from message.h;
unified Error() and ERROR() functions to RuntimeError() defined in basetypes.h, and eliminated message.h altogether (it was only used for ERROR);
new method LogicError()--note: some RuntimeError() calls really should be LogicError()s, need to fix as we notice them
2014-10-30 10:33:51 -07:00
Frank Seide a4bc3b64f0 removed dependency of File.cpp on message.h 2014-10-30 09:45:02 -07:00
Frank Seide fb81be7437 Merge branch 'master' of https://git01.codeplex.com/cntk 2014-10-30 09:28:36 -07:00
Frank Seide 67f40ac285 removed some unused Windows-specific code from basetypes.h;
created a sub-structure inside projects that matches the actual directory names for shared files to make those easy to spot;
disabled some warnings in the test projects since we don't care much for those;
some warnings in test projects fixed
2014-10-30 09:28:27 -07:00
Dong Yu c09d450913 Merge branch 'master' of https://git01.codeplex.com/cntk 2014-10-29 02:39:58 -07:00
Dong Yu 5269162599 Fixed bugs in ScaleNode's forward computation and L1RegNode's gradient computation. 2014-10-29 02:36:30 -07:00
Frank Seide 06a98e4631 cleanup of use of some POSIX functions 2014-10-23 18:56:18 -07:00
Frank Seide 61bf0105c6 removed all HANDLE variants of functions;
some VS-proprietary functions self-defined;
Get{Scan}FormatString() now compiles for 32 bit (before, size_t and unsigned int clashed)
2014-10-23 18:22:11 -07:00
Frank Seide 43ca15fee0 removed some VS-specifics 2014-10-23 15:16:59 -07:00
Frank Seide 958bbba3ac fixed some const correctness to address a GCC warning related to passing string literals to char* instead of const char* 2014-10-23 14:54:07 -07:00
Frank Seide b4d62f08fd added a missing #include <assert.h> 2014-10-23 13:24:01 -07:00
Frank Seide 1ceb249ceb changed VS-proprietary types (unsigned) _int64 to uint64_t/int64_t from stdint.h;
some more _s function use removed
2014-10-23 13:14:19 -07:00
Frank Seide 9078a01916 some more non-standard VS CRT calls replaced by standard 2014-10-23 11:55:53 -07:00
Frank Seide f2d74ac12e changed some string functions from VS-proprietary ones to C standard ones 2014-10-23 09:56:46 -07:00
Frank Seide 0bd78a9246 removed dependency on tchar.h, instead changed to wmain and wchar_t throughout (it's 2014 after all!) 2014-10-23 09:34:40 -07:00
Frank Seide 4afe861cfb towards portable code: disabled warnings for using "unsafe" CRT functions (not available in GCC/Linux) and a few unnecessary Win32-dependent pieces of code that were not actually used;
CNTKEval now compiles at warning level 4 without error
2014-10-23 09:16:51 -07:00
unknown 93f7a6f100 Merge branch 'master' of https://git01.codeplex.com/cntk 2014-10-21 12:16:39 -07:00
unknown 7894af9406 Update NDL to throw an error when a parameter name is the same as a function name 2014-10-21 12:12:50 -07:00
Frank Seide 0ed4183cf8 Merge branch 'master' of https://git01.codeplex.com/cntk 2014-10-20 14:57:20 -07:00
Frank Seide 9622e85478 fixed the post-build event in CNTKMath that is supposed to copy the ACML and CUDA libs 2014-10-20 14:57:11 -07:00
Dong Yu e6f37cdc54 Added instructions on GMMLogLikelihood node to the CNTK book;
Fixed the unrecognized ... problem in CNTK book;
Fixed several formatting issues in CNTK book;
2014-10-17 14:44:49 -07:00
Dong Yu 1b4cff674e fixed a bug in the ComputeInputPartialFeature of GMMLoglikelihoodNode;
added AddWithRowSliceValuesOf math function
2014-10-17 14:15:25 -07:00
Jasha Droppo 2f193faf95 Fixed problem with typecasts that were preventing the build. 2014-10-17 08:44:09 -07:00
Jasha Droppo 70448fb290 Merge branch 'rmsprop' 2014-10-16 19:12:18 -07:00
Jasha Droppo 2dc6540f21 Initial implementation of RMSProp for dense matrices. Does not work for
sparse matrices.
2014-10-16 19:11:03 -07:00
Dong Yu 87657c403d Merge branch 'master' of https://git01.codeplex.com/cntk
Conflicts:
	MachineLearning/cn/SGD.h
2014-10-16 16:45:19 -07:00
Dong Yu 1c2d43eacc merge with remote 2014-10-16 16:40:49 -07:00
Dong Yu c56a245433 change several assertions to exception throw to guard it from incorrect behavior under the release build.
change gradient check error information display from stdout to stderr.
2014-10-16 16:37:37 -07:00
Frank Seide be5c949c83 Merge branch 'master' of https://git01.codeplex.com/cntk 2014-10-16 11:30:41 -07:00
Frank Seide 8fb6709aaf a last build break in Release (variables initialized for use in assert() only gets flagged) 2014-10-16 11:30:33 -07:00
ychfan 73af3795e7 save the model to 'modelPath' when the learning rate is too small to exit in the automatic learning rate adjustment mode of SGD 2014-10-16 13:22:52 +08:00
Dong Yu a6d0f8176d fixed a bug in GPUMatrix::RowElementMultiplyWith and RowElementDivideBy. Changed ComputationNetwork.h to support loading nodes with number of children larger than 3. 2014-10-15 19:00:55 -07:00
Frank Seide 0ee36af4bb last compiler warnings removed except for testing code--yay! 2014-10-15 16:39:29 -07:00
Frank Seide 245c676a0f fixed compiler warning in DllMain (unused args) 2014-10-15 16:15:24 -07:00
Frank Seide 60f109db9f bug fix in RandomGaussian, used wrong dimensions;
fixed loads of int size and signedness warnings;
fixed lots of unused-parameter warnings (in dummy implementations);
two more projects build warning-free
2014-10-15 16:11:51 -07:00
Frank Seide 32604b4ca3 Merge branch 'master' of https://git01.codeplex.com/cntk 2014-10-15 11:10:58 -07:00
Frank Seide ad8ad190cb fixed comparison of int wrd with LabelIdType 2014-10-15 11:09:56 -07:00
Dong Yu 1ce36033a6 clear warnings 2014-10-14 22:39:19 -07:00
Dong Yu e908fd1901 Merge with the cntk@codeplex. 2014-10-14 17:33:29 -07:00
Frank Seide 21085e1b7c main 'cn' project now compiles with warning level 4;
all projects now switched to warning level 4, although not all compile yet without warnings (for those, warnings=error is not yet set)
2014-10-14 17:25:33 -07:00
Dong Yu 561146dff9 Implemented GMMLogLikelihoodNode, Added unit test cases for RowElement and ColumnElement operations. Added back CNTKEvalTest project. 2014-10-14 17:25:30 -07:00
Frank Seide 3c888b1d75 some more warnings and size_t/int fixed 2014-10-14 16:41:06 -07:00