https://github.com/Microsoft/CNTK
Revision 787cf49e3d0f8b9a189a1157c4dd2b05e7487af2 authored by Joannes Vermorel on 19 July 2017, 08:55:22 UTC, committed by Joannes Vermorel on 19 July 2017, 11:15:30 UTC
The `Range(dim)` is intended to support the creation
of useful masks which are handy when dealing, for example,
with missing data.

The function `Range(dim)` generates a 1D constant tensor
that contains integers numbered from 0 .. (dim -1).

While the implementation is not complicated, it's a
non-trivial use of the primitives provided by BrainScript,
hence the justification for an inclusion in the core lib.

Microsoft/CNTK#2121
1 parent 9ebbdea
History
Tip revision: 787cf49e3d0f8b9a189a1157c4dd2b05e7487af2 authored by Joannes Vermorel on 19 July 2017, 08:55:22 UTC
BS.Constants.Range(dim) as 1D constant tensor
Tip revision: 787cf49
File Mode Size
Dependencies
Documentation
Examples
Manual
Scripts
Source
Tests
Tools
Tutorials
bindings
.clang-format -rw-r--r-- 931 bytes
.gitattributes -rw-r--r-- 3.1 KB
.gitignore -rw-r--r-- 6.1 KB
.gitmodules -rw-r--r-- 211 bytes
CNTK.Common.props -rw-r--r-- 1.5 KB
CNTK.Cpp.props -rw-r--r-- 9.3 KB
CNTK.sln -rw-r--r-- 194.7 KB
CONTRIBUTING.md -rw-r--r-- 210 bytes
CppCntk.vssettings -rw-r--r-- 10.0 KB
LICENSE.md -rw-r--r-- 4.6 KB
Makefile -rw-r--r-- 56.5 KB
README.md -rw-r--r-- 4.7 KB
configure -rwxr-xr-x 34.5 KB

README.md

back to top