Skip to content

Commit

Permalink
renamed TrainingCriterionNodes.h to TrainingNodes.h, and moved Dropou…
Browse files Browse the repository at this point in the history
…tNode and BatchNormalizationNode there;

renamed EvaluationCriterionNodes.h to EvaluationNodes.h, and moved SequenceDecoderNode there
  • Loading branch information
frankseide committed Jan 22, 2016
1 parent d11963d commit 03a4fcb
Show file tree
Hide file tree
Showing 23 changed files with 813 additions and 821 deletions.
4 changes: 2 additions & 2 deletions Source/CNTK/CNTK.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@
<ClInclude Include="..\Common\Include\ScriptableObjects.h" />
<ClInclude Include="..\Common\Include\Sequences.h" />
<ClInclude Include="..\Common\Include\TimerUtility.h" />
<ClInclude Include="..\ComputationNetworkLib\EvaluationNodes.h" />
<ClInclude Include="..\ComputationNetworkLib\TrainingNodes.h" />
<ClInclude Include="..\Math\CPUMatrix.h" />
<ClInclude Include="..\Math\Matrix.h" />
<ClInclude Include="..\ComputationNetworkLib\CompositeComputationNodes.h" />
Expand All @@ -181,7 +183,6 @@
<ClInclude Include="..\ComputationNetworkLib\ComputationNetworkBuilder.h" />
<ClInclude Include="..\ComputationNetworkLib\ComputationNode.h" />
<ClInclude Include="..\ComputationNetworkLib\ConvolutionalNodes.h" />
<ClInclude Include="..\ComputationNetworkLib\EvaluationCriterionNodes.h" />
<ClInclude Include="BrainScript\BrainScriptEvaluator.h" />
<ClInclude Include="BrainScript\BrainScriptParser.h" />
<ClInclude Include="IExecutionEngine.h" />
Expand All @@ -197,7 +198,6 @@
<ClInclude Include="stdafx.h" />
<ClInclude Include="SynchronousExecutionEngine.h" />
<ClInclude Include="targetver.h" />
<ClInclude Include="..\ComputationNetworkLib\TrainingCriterionNodes.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\Common\Config.cpp">
Expand Down
8 changes: 4 additions & 4 deletions Source/CNTK/CNTK.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,6 @@
<ClInclude Include="..\SGDLib\DataReaderHelpers.h">
<Filter>from ComputationNetworkLib\Network</Filter>
</ClInclude>
<ClInclude Include="..\ComputationNetworkLib\EvaluationCriterionNodes.h">
<Filter>from ComputationNetworkLib\Nodes</Filter>
</ClInclude>
<ClInclude Include="..\ComputationNetworkLib\InputAndParamNodes.h">
<Filter>from ComputationNetworkLib\Nodes</Filter>
</ClInclude>
Expand All @@ -190,7 +187,10 @@
<ClInclude Include="..\ComputationNetworkLib\RecurrentNodes.h">
<Filter>from ComputationNetworkLib\Nodes</Filter>
</ClInclude>
<ClInclude Include="..\ComputationNetworkLib\TrainingCriterionNodes.h">
<ClInclude Include="..\ComputationNetworkLib\EvaluationNodes.h">
<Filter>from ComputationNetworkLib\Nodes</Filter>
</ClInclude>
<ClInclude Include="..\ComputationNetworkLib\TrainingNodes.h">
<Filter>from ComputationNetworkLib\Nodes</Filter>
</ClInclude>
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Source/CNTK/NetworkDescriptionLanguage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
#include "RecurrentNodes.h"
#include "ReshapingNodes.h"
#include "SpecialPurposeNodes.h"
#include "TrainingCriterionNodes.h"
#include "TrainingNodes.h"
#include "PreComputeNodes.h"
#include "EvaluationCriterionNodes.h"
#include "EvaluationNodes.h"

namespace Microsoft { namespace MSR { namespace CNTK {

Expand Down
4 changes: 2 additions & 2 deletions Source/ComputationNetworkLib/ComputationNetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
#include "ConvolutionalNodes.h"
#include "RecurrentNodes.h"
#include "ReshapingNodes.h"
#include "TrainingCriterionNodes.h"
#include "TrainingNodes.h"
#include "PreComputeNodes.h"
#include "EvaluationCriterionNodes.h"
#include "EvaluationNodes.h"
#include "SpecialPurposeNodes.h"
#include "MPIWrapper.h" // TODO: does not belong here
#include <string>
Expand Down
6 changes: 3 additions & 3 deletions Source/ComputationNetworkLib/ComputationNetworkBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
#include "ConvolutionalNodes.h"
#include "RecurrentNodes.h"
#include "ReshapingNodes.h"
#include "TrainingCriterionNodes.h"
#include "PreComputeNodes.h"
#include "EvaluationCriterionNodes.h"
#include "TrainingNodes.h"
#include "EvaluationNodes.h"
#include "SpecialPurposeNodes.h"

#include <string>
Expand All @@ -33,7 +33,7 @@ template <class ElemType, class... _Types>
static shared_ptr<ComputationNode<ElemType>> CreateStandardNode(const std::wstring& nodeType, _Types&&... _Args)
{
// please keep this table sorted
if (nodeType == OperationNameOf(CRFNode)) return New<CRFNode<ElemType>>(forward<_Types>(_Args)...);
if (nodeType == OperationNameOf(CRFNode)) return New<CRFNode<ElemType>>(forward<_Types>(_Args)...);
else if (nodeType == OperationNameOf(ClassBasedCrossEntropyWithSoftmaxNode))return New<ClassBasedCrossEntropyWithSoftmaxNode<ElemType>>(forward<_Types>(_Args)...);
else if (nodeType == OperationNameOf(CosDistanceNode)) return New<CosDistanceNode<ElemType>>(forward<_Types>(_Args)...);
else if (nodeType == OperationNameOf(CosDistanceWithNegativeSamplesNode)) return New<CosDistanceWithNegativeSamplesNode<ElemType>>(forward<_Types>(_Args)...);
Expand Down
2 changes: 1 addition & 1 deletion Source/ComputationNetworkLib/ComputationNetworkBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "Basics.h"
#include "ComputationNode.h"
#include "ComputationNetwork.h"
#include "TrainingCriterionNodes.h" // for NCEEvalMode
#include "TrainingNodes.h" // for NCEEvalMode
#include "ScriptableObjects.h"
#include "TensorShape.h"
#include <string>
Expand Down
2 changes: 1 addition & 1 deletion Source/ComputationNetworkLib/ComputationNetworkEditing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "ComputationNode.h"
#include "ComputationNetwork.h"
#include "InputAndParamNodes.h"
#include "ConvolutionalNodes.h"
#include "TrainingNodes.h"
#include <string>
#include <vector>
#include <list>
Expand Down
4 changes: 2 additions & 2 deletions Source/ComputationNetworkLib/ComputationNetworkLib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<ClInclude Include="ConvolutionalNodes.h" />
<ClInclude Include="PreComputeNodes.h" />
<ClInclude Include="SpecialPurposeNodes.h" />
<ClInclude Include="EvaluationCriterionNodes.h" />
<ClInclude Include="EvaluationNodes.h" />
<ClInclude Include="InputAndParamNodes.h" />
<ClInclude Include="LinearAlgebraNodes.h" />
<ClInclude Include="MatrixPool.h" />
Expand All @@ -178,7 +178,7 @@
<ClInclude Include="ReshapingNodes.h" />
<ClInclude Include="stdafx.h" />
<ClInclude Include="targetver.h" />
<ClInclude Include="TrainingCriterionNodes.h" />
<ClInclude Include="TrainingNodes.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\Common\BestGpu.cpp" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@
<ClInclude Include="..\Common\Include\BestGpu.h">
<Filter>Common\Include</Filter>
</ClInclude>
<ClInclude Include="EvaluationCriterionNodes.h">
<Filter>Nodes</Filter>
</ClInclude>
<ClInclude Include="TrainingCriterionNodes.h">
<Filter>Nodes</Filter>
</ClInclude>
<ClInclude Include="NonlinearityNodes.h">
<Filter>Nodes</Filter>
</ClInclude>
Expand Down Expand Up @@ -123,6 +117,12 @@
<ClInclude Include="PreComputeNodes.h">
<Filter>Nodes</Filter>
</ClInclude>
<ClInclude Include="EvaluationNodes.h">
<Filter>Nodes</Filter>
</ClInclude>
<ClInclude Include="TrainingNodes.h">
<Filter>Nodes</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="Common">
Expand Down
Loading

0 comments on commit 03a4fcb

Please sign in to comment.