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

16012 Коммитов

Автор SHA1 Сообщение Дата
Peyman Manikashani 4244320eba Adding support for exporting CNTK TimesTranspose 2018-08-22 11:33:55 -07:00
Yang Chen 3d809bf54c Added several internal API header files
In case other projects may use these header files, we added
them into API/Internals.

* ComputationGraphAlgorithms.h was moved from Source/ComputationNetworkLib

* PrimitiveOpType.h and EvaluatorWrapper.h were moved from Source/CNTKv2Library

* PrimitiveFunctionAttribute.h was extracted from PrimitiveFunction.h. It contains
  a new class PrimitiveFunctionAttribute which is the collection of all attribute
  names for PrimitiveFunction.

  This change actually had a subtle side-effect. We had a global static variable
  s_stateAttributes that depended on PrimitiveFunction::AttributeNameRngSeed and
  PrimitiveFunction::AttributeNameRngOffset. After we moved those static
  attribute-variables into another translation unit, s_stateAttributes can be
  initialized with empty wstring, because PrimitiveFunctionAttribute::AttributeNameRngSeed
  PrimitiveFunctionAttribute::AttributeNameRngSeedOffset were initialized after
  s_stateAttributes. Note that the initialization order of global static variables
  is not well-defined cross translation units. To fix the issue, we also moved
  s_stateAttributes into PrimitiveFunctionAttribute class, and renamed it to
  s_rngStateAttributes. I think it's reasonable to consider s_rngStateAttributes
  to be part of the PrimitiveFunctionAttribute class.

* PrimitiveFunction.h was moved from Source/CNTKv2Library
2018-08-22 10:47:18 -07:00
Bowen Bao 8a244e6b3e fix onnx_op_test.py reduce ops.
- remove bracket around data to match latest verification.
2018-08-21 14:23:28 -07:00
Vadim Mazalov b36347bf81 Fix legacy test 2018-08-21 12:38:26 -07:00
Bowen Bao db41aebbad Merge branch 'bowbao/onnx_reduce_allaxes' 2018-08-21 10:05:14 -07:00
Thiago Crepaldi 4bbb245cc9 Merge branch 'liqun/TopKStage' 2018-08-21 03:47:21 +00:00
Thiago Crepaldi 1706da207f Inject TEST_TAG env var into test containers 2018-08-20 16:57:38 -07:00
Bowen Bao 0e57d20b2c fix reduce ops for onnx export/import with all_static_axes() and
all_axes().
2018-08-20 14:48:42 -07:00
David Brownell ee2fa5e70d Correctly calling tolower or towlower 2018-08-20 14:32:08 -07:00
Bowen Bao 3328f82a58 update onnx_backend_test.py skipped models and ops. 2018-08-20 11:57:52 -07:00
Yang Chen 3a35b6f6c7 pedantic option cannot be ignored
-pedantic options is not an option that can be ignored.
GCC 6.x and above issued warnings (and hence errors) while building
CNTK:

  error: pedantic is not an option that controls warnings.
2018-08-17 15:09:40 -07:00
liqfu 1a572f89f0 ONNX support of TopK 2018-08-17 13:01:47 -07:00
TJ 9040c9d607 Build c# test dlls in sequence 2018-08-17 11:32:42 -07:00
Peyman Manikashani 4b2b0d30cc Merge branch 'peykash/batchnorm_float16_fixes' 2018-08-17 09:54:13 +00:00
Vadim Mazalov d67eba8060 Remove template definition 2018-08-16 21:25:39 -07:00
Vadim Mazalov af7e33e45e Fix template compilation 2018-08-16 21:25:39 -07:00
Vadim Mazalov 8c83adb693 Some cleanup 2018-08-16 21:25:39 -07:00
Vadim Mazalov 648c99d9d5 Refactor common methods 2018-08-16 21:25:39 -07:00
Vadim Mazalov 086dd28252 Update .gitattributes to mark MLF as binary file 2018-08-16 21:25:39 -07:00
Vadim Mazalov cb3d08ac51 Add E2E test for binary MLF 2018-08-16 21:25:38 -07:00
Vadim Mazalov 7c59a63d6c Further binaryMLF refactoring 2018-08-16 21:25:38 -07:00
Vadim Mazalov 931193d735 Refactor binary MLF 2018-08-16 21:25:38 -07:00
Vadim Mazalov 78165413b8 Remove a logging statement 2018-08-16 21:25:38 -07:00
Vadim Mazalov e500b6e7c6 Fix binary stream reading 2018-08-16 21:25:37 -07:00
Vadim Mazalov 0ef680ec24 add binary MLF reader to makefile 2018-08-16 21:25:37 -07:00
Vadim Mazalov cd838ae5e2 Introduce model version 2 2018-08-16 21:25:37 -07:00
Vadim Mazalov 9ad1910871 Optimize senone count lookup 2018-08-16 21:25:37 -07:00
Vadim Mazalov ce95c1cb4f First working version 2018-08-16 21:25:36 -07:00
Vadim Mazalov 0a00f8b43c Implement MLF binary parser 2018-08-16 21:25:36 -07:00
Vadim Mazalov 0198fadf8e Binary index builder' 2018-08-16 21:25:36 -07:00
Vadim Mazalov d531345bb1 binary mlf index' 2018-08-16 21:25:36 -07:00
Vadim Mazalov 222efb8048 Binary mlf reader 2018-08-16 21:25:35 -07:00
Yang Chen f5b481a6ab copy HalfConverter.hpp for make_binary_drop
HalfConverter.hpp is included from CNTKLibrary.h.
Without including it, we cannot use binary drops.
2018-08-16 13:05:34 -07:00
Bowen Bao 490620873f Merge branch 'bowbao/onnx_imageScaler' 2018-08-15 18:01:32 -07:00
Liqun Fu bf2b5eae8c Merge branch 'liqun/Py2FixTupleUnpacking' 2018-08-16 00:12:53 +00:00
Yang Chen c8cecaace8 Dump exception messages to stderr in Release mode
It's useful to have excpetion messages dumped to std in Release mode.
2018-08-15 14:32:54 -07:00
liqun fu bff3002794 fix python 2.7 tuple unpacking error 2018-08-15 13:47:56 -07:00
Bowen Bao 4b4b9cda28 fix imageScaler export/import to onnx 2018-08-15 10:22:47 -07:00
Peyman Manikashani a5421862de BatchNormalization Float16 Fixes 2018-08-15 10:01:23 -07:00
Liqun Fu ef836bc293 Merge branch 'liqun/NewSequenceSliceStage2Stage' 2018-08-15 06:46:32 +00:00
Spandan Tiwari 6547e2ce7f Fix bug in import of Conv op in ONNX. 2018-08-14 16:00:38 -07:00
liqfu ae163b33a8 ONNX support for CNTK Sequence::Slice op. Due to a specific feature of CNTK Sequence::Slice op to handle zigged inputs (batch of variable length sequences), models converted from CNTK may not produce marching outcomes with zigged inputs. 2018-08-14 11:17:36 -07:00
Bowen Bao ceaec5636f fix squeezenet onnx_backend_test of issues with Softmax, hardmax, logsoftmax and flatten with freedimension on batchaxis. 2018-08-14 10:02:07 -07:00
Spandan Tiwari 541e2100eb Merge branch 'master' into sptiwari/model_fix_test 2018-08-13 10:48:20 -07:00
Thiago Crepaldi b689ebb5ad Ignore TEST_TAG environment variable when not defined during testing 2018-08-13 09:02:01 -07:00
Thiago Crepaldi 4ce6607917 Disable fmeasure test and increase pytest verbosity 2018-08-12 13:24:20 -07:00
Spandan Tiwari b73670c3bd Removing support for user-provided node names and using uid for ONNX names. 2018-08-10 16:53:58 -07:00
Spandan Tiwari e0b26561b8 Fixing batch axis handling bug in ReduceElements and Reshape export. 2018-08-10 16:36:29 -07:00
Spandan Tiwari ff118cc684 Merge branch 'master' into sptiwari/onnx_merge_with_master 2018-08-10 10:10:06 -07:00
delzac b7811d3549 Fmeasure (#3343)
* amended a bug, swapped precision and recall

* added a bit more documentation
2018-08-10 08:50:42 -07:00