https://github.com/Microsoft/CNTK
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
Raw File
Tip revision: 3d809bf54c3eb164af426a942580bd7cfd38ea92 authored by Yang Chen on 15 August 2018, 22:28:58 UTC
Added several internal API header files
Tip revision: 3d809bf
.gitmodules
[submodule "Source/Multiverso"]
	path = Source/Multiverso
	url = https://github.com/Microsoft/Multiverso
[submodule "external/gsl"]
	path = external/gsl
	url = https://github.com/Microsoft/GSL.git
	branch = d846fe5
[submodule "Source/CNTKv2LibraryDll/proto/onnx/onnx_repo"]
	path = Source/CNTKv2LibraryDll/proto/onnx/onnx_repo
	url = https://github.com/onnx/onnx.git
back to top