https://github.com/Microsoft/CNTK
Revision 5ca4bb3a93170896fa6bc3d71d284139dd7fb7ce authored by Bowen Bao on 16 June 2018, 01:07:43 UTC, committed by Bowen Bao on 11 July 2018, 04:10:33 UTC
adding convolution over sequential axis related tests.

adding convolution over sequential axis.
currently additional supported parameters:
  auto padding
  strides
  groups
support for dilation needs to be tested on GPU.

updating PrimitiveOpType SerializationTests that is missing from other commits ..

convert tabs to spaces.

Refine cpp convolution unit tests. Add dilation tests to python convolution unit tests.

more detailed comments on shape change for 1d seq conv with reduction rank 0. And other minor tweaks.

add EndToEndTests of sequential convolution on MNIST

add init_bias tests for seq conv

minor change in comments

rename ConvolutionOverSequenceAxisNode. Add comment on cudnn failed new test.

add more comments, trim spaces

add more comments, remove magic number, add more boundary checks.

remove the last SetValue for outputSeqAxisDimValue as TensorView Unary Op has already updated the value.

fix bug in python seqconv default bias shape, and add related unit tests.

small tweak in seq conv to avoid additional gpu memory allocation and increase performance.

Example: seq MNIST, and profiling

adjust conv c++ value unit test channel size.

small update on python seq mnist

Sequential convolution v2.
* re-designed ConvolutionSequenceShapeNode: refactored to separate out computing output sequence length from v1 node design. And refactored ConvolutionNodeBaseExtended as their common base class. (Since "ConvolutionNodeBase" is not only base class of ConvolutionNode but also PoolingNode).
* Performance increase against v1.
- compute sequence length by MBLayout instead of mask output from unpack. Avoiding the unnecessary cpu/gpu memory copy.

not include py sequence example for now .. need to find they a correct location.

add check for truncated sequences in sequential convolution

improve code style.

Moving sequential convolution in python to a new high level api, to maintain compatibility with previous implementation (special case 1d sequential convolution).

Add ConvolutionSequenceShape OP.

nit

update conv_attribute test for updated convolution parameter
move sequential parameter to the last
update test shortcircuit for CPU convolution dilation.

update endtoendtest - unittest baseline file for new convolution unittests.

update makefile to include new unittest file for linux

nit

Update ConvolutionNode initialization code to handle TransformerNode Initialization.

nit

nit
1 parent 8bd0459
History
Tip revision: 5ca4bb3a93170896fa6bc3d71d284139dd7fb7ce authored by Bowen Bao on 16 June 2018, 01:07:43 UTC
Add Sequential Convolution.
Tip revision: 5ca4bb3
File Mode Size
Documentation
Examples
Manual
PretrainedModels
Scripts
Source
Tests
Tools
Tutorials
bindings
external
.clang-format -rw-r--r-- 951 bytes
.gitattributes -rw-r--r-- 3.4 KB
.gitignore -rw-r--r-- 8.4 KB
.gitmodules -rw-r--r-- 367 bytes
CMakeLists.txt -rw-r--r-- 269 bytes
CNTK.Common.props -rw-r--r-- 3.4 KB
CNTK.Cpp.props -rw-r--r-- 10.8 KB
CNTK.sln -rw-r--r-- 264.7 KB
CONTRIBUTING.md -rw-r--r-- 210 bytes
CppCntk.vssettings -rw-r--r-- 10.0 KB
LICENSE.md -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 68.1 KB
README.md -rw-r--r-- 17.0 KB
ThirdPartyNotices.md -rw-r--r-- 21.0 KB
configure -rwxr-xr-x 37.5 KB

README.md

back to top