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

15919 Коммитов

Автор SHA1 Сообщение Дата
Spandan Tiwari db6d03aa40 text fix 2018-08-26 15:28:31 -07:00
Spandan Tiwari 56b2b324b0 Another test update. 2018-08-26 12:57:53 -07:00
Spandan Tiwari 55cd1d9ad4 ConvTranpose ONNX test fix. 2018-08-26 00:42:26 -07:00
Spandan Tiwari 6866f0c888 Overhauling ConvTranspose ONNX op to match ONNX1.2.2 spec. 2018-08-23 10:41:55 -07:00
Bowen Bao 28ada9657b update python doctest handling newer version numpy print format. 2018-08-22 23:21:13 -07:00
Bowen Bao 56ef694c88 add onnx_model_test.py 2018-08-22 23:21:13 -07:00
Bowen Bao c0ff1da544 fix gemm, pooling export to onnx. 2018-08-22 23:19:18 -07:00
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