Revision 3d809bf54c3eb164af426a942580bd7cfd38ea92 authored by Yang Chen on 15 August 2018, 22:28:58 UTC, committed by Yang Chen on 22 August 2018, 17:47:18 UTC
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
1 parent 8a244e6
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-- | 70.4 KB |
README.md | -rw-r--r-- | 17.0 KB |
ThirdPartyNotices.md | -rw-r--r-- | 21.0 KB |
configure | -rwxr-xr-x | 37.4 KB |
Computing file changes ...