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

19 Коммитов

Автор SHA1 Сообщение Дата
Frank Seide 1d92f29a7b values of optional args in NDL and MEL can now be in quotes, which is recommended for future BrainScript compatibility for all strings;
updated all sample config/NDL/MEL for Jenkins tests
2015-11-26 23:52:04 -08:00
Frank Seide d25e83cae9 cleaned up the Jenkins test configs w.r.t. indentation, spacing, casing. Also quoted all strings in config (not yet in NDL) for BS compat 2015-11-26 22:04:17 -08:00
Frank Seide 5010609750 further fixed ConfigParser::Parse() to not strip pathnames of leading \\;
SimpleNetworkBuilder.cpp now never uses the LSTMNode (which is not functional at present--we should just remove it);
bug fix: LUBatchSequenceReader now sets the SequenceEnd flag as well. But I get NaNs, so something still not complete
2015-11-25 17:59:48 -08:00
Frank Seide b76c09cdce HTKMLFReader now runs with BrainScript config! DataReader is now a ScriptableObject;
more template-related updates to LUSequenceReader.cpp;
got CNTKEval to build;
added the first full BS configuration: lstm.bs
2015-11-24 19:44:19 -08:00
Frank Seide 578675a421 LMSequenceReader now compiles with ConfigRecordType template (although it still has some incorrect code in the Writer, which for some reason compiles) 2015-11-24 00:15:31 -08:00
Frank Seide 12116431c6 changed DataReader interface and HTKMLFReader to support both ConfigParameters and ScriptableObjects::IConfigRecord, as a step towards BS-enabling everything. The other readers currently do not build, coming next;
changed BestGpu,.h to not include "ScriptableObjects.h" and "commandArgUtil.h", since this header is also included by .cu files, which needs it for the CPUONLY flag, but the CUDA compiler gets confused;
new method ConfigParameters::GetMemberIds();
new method ConfigArray::AsVector<>()
2015-11-23 23:11:06 -08:00
Frank Seide 9cb50e32ac bug workaround: MinusNode had m_needGradient false while a child had it true, which caused use of an empty gradient matrix. Worked around by going back to old CNTK way of always resizing gradients as well;
UpdateFunctionAndGradientMBSize()
new command-line option currentDirectory=... to set the CD. Use this as the first option. This allows for self-contained debug command lines;
implemented Yu Zhang's recent bug fix differently by moving the MB reset into LoadPersistableParametersFromFile()
2015-10-10 17:19:40 -07:00
Frank Seide 3aab1d267f File now supports pipes ("cmd|", "|cmd") and "-" (stdin/stdout) for input and output;
stderr redirection now uses File class instead of auto_file_ptr, allowing e.g. stderr="|tee path.log";
new method File::Flush();
class File implementation now uses RuntimeError() and LogicError() instead of throw std::runtime_error() and logic_error();
moved RuntimeError() and class Plugin from basetypes.h to Basics.h;
new VS++ CRT emulation function _wpopen() (Linux only_
2015-07-01 16:17:29 -07:00
Frank Seide c31fa8bf28 added ... expansion to HTKMLFReader, allows pathnames in SCP files thata re relative to the SCP file itself (... stands for the directory of the SCP file) 2015-05-19 15:45:26 -07:00
Frank Seide a059635386 moved nocase_compare to Basics.h, and removed unnecessary dependencies caused by this on commandArgUtil.h, hoping for less recompilation;
renamed PreprocessConfigLine() to StripComments();
updated CNTKBook PDF
2015-05-19 14:32:21 -07:00
Dong Yu 2e1151399b rewrite all BlockCol and BlockRow format related GPU Kernals. The original versions are all incorrect and slow.
Revoke back to redirect stderr even under debug version since users can just comment out the stderr line in the config to stop redirection.
2015-02-05 16:19:55 -08:00
Frank Seide 2d045268d1 ConfigFile.cpp now compiles (needed another stdlib mapping, _wcsnicmp(), and to change an assignment to a constructor call) 2014-11-02 19:37:32 -08: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 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 9078a01916 some more non-standard VS CRT calls replaced by standard 2014-10-23 11:55:53 -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
Dong Yu 371a65bca8 add support to display ConfigFile info with variable names resolved. 2014-09-05 14:17:26 -07:00
unknown 6169450955 First Release of CNTK 2014-08-29 16:21:42 -07:00