Skip to content

Commit 65c6a39

Browse files
committed
vs2015
1 parent 19eabc4 commit 65c6a39

File tree

9 files changed

+31
-16
lines changed

9 files changed

+31
-16
lines changed

clean_bin_obj.bat

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ rd /s /q .\Examples\MinimalExample\bin
1414
rd /s /q .\Examples\MnistDemo\bin
1515
rd /s /q .\Examples\MnistDemo.GPU\bin
1616
rd /s /q .\src\ConvNetSharp.Utils\bin
17+
rd /s /q .\Examples\MnistDemo.Flow.GPU\bin
18+
rd /s /q .\Examples\FlowDemo\bin
1719

1820
rd /s /q .\src\ConvNetSharp.Core\obj
1921
rd /s /q .\src\ConvNetSharp.Core.Tests\obj
@@ -30,4 +32,6 @@ rd /s /q .\Examples\FluentMnistDemo\obj
3032
rd /s /q .\Examples\MinimalExample\obj
3133
rd /s /q .\Examples\MnistDemo\obj
3234
rd /s /q .\Examples\MnistDemo.GPU\obj
33-
rd /s /q .\src\ConvNetSharp.Utils\obj
35+
rd /s /q .\src\ConvNetSharp.Utils\obj
36+
rd /s /q .\Examples\MnistDemo.Flow.GPU\obj
37+
rd /s /q .\Examples\FlowDemo\obj

src/ConvNetSharp.Core/ConvNetSharp.Core.2015.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</PropertyGroup>
3333
<ItemGroup>
3434
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
35-
<HintPath>..\..\packages\Newtonsoft.Json.10.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
35+
<HintPath>..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
3636
</Reference>
3737
<Reference Include="System" />
3838
<Reference Include="System.Core" />
@@ -99,5 +99,8 @@
9999
<Name>ConvNetSharp.Volume.2015</Name>
100100
</ProjectReference>
101101
</ItemGroup>
102+
<ItemGroup>
103+
<None Include="packages.config" />
104+
</ItemGroup>
102105
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
103106
</Project>

src/ConvNetSharp.Core/packages.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net452" />
4+
</packages>

src/ConvNetSharp.Flow.Tests/ConvNetSharp.Flow.Tests.2015.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,18 @@
3030
<DefineConstants>TRACE</DefineConstants>
3131
<ErrorReport>prompt</ErrorReport>
3232
<WarningLevel>4</WarningLevel>
33+
<PlatformTarget>x64</PlatformTarget>
3334
</PropertyGroup>
3435
<ItemGroup>
35-
<Reference Include="Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
36-
<HintPath>..\..\packages\Castle.Core.4.0.0\lib\net45\Castle.Core.dll</HintPath>
36+
<Reference Include="Castle.Core, Version=4.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
37+
<HintPath>..\..\packages\Castle.Core.4.1.0\lib\net45\Castle.Core.dll</HintPath>
3738
</Reference>
3839
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
3940
<HintPath>..\..\packages\Microsoft.VisualStudio.UnitTesting.11.0.50727.1\lib\net45\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</HintPath>
4041
<Private>True</Private>
4142
</Reference>
42-
<Reference Include="Moq, Version=4.7.25.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
43-
<HintPath>..\..\packages\Moq.4.7.25\lib\net45\Moq.dll</HintPath>
43+
<Reference Include="Moq, Version=4.7.63.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
44+
<HintPath>..\..\packages\Moq.4.7.63\lib\net45\Moq.dll</HintPath>
4445
</Reference>
4546
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
4647
<HintPath>..\..\packages\Newtonsoft.Json.10.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>

src/ConvNetSharp.Flow.Tests/app.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
</dependentAssembly>
99
</assemblyBinding>
1010
</runtime>
11-
</configuration>
11+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup></configuration>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Castle.Core" version="4.1.1" targetFramework="net462" />
4-
<package id="Microsoft.VisualStudio.UnitTesting" version="11.0.50727.1" targetFramework="net462" requireReinstallation="true" />
4+
<package id="Microsoft.VisualStudio.UnitTesting" version="11.0.50727.1" targetFramework="net462" />
55
<package id="Moq" version="4.7.63" targetFramework="net462" />
66
</packages>

src/ConvNetSharp.Flow/Layers/ConvLayer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public ConvLayer(int width, int height, int filterCount)
2525

2626
public T BiasPref
2727
{
28-
get => this._biasPref;
28+
get { return this._biasPref; }
2929
set
3030
{
3131
this._biasPref = value;
@@ -39,7 +39,7 @@ public T BiasPref
3939

4040
public int Stride
4141
{
42-
get => this._stride;
42+
get { return this._stride; }
4343
set
4444
{
4545
this._stride = value;
@@ -52,7 +52,7 @@ public int Stride
5252

5353
public int Pad
5454
{
55-
get => this._pad;
55+
get { return this._pad; }
5656
set
5757
{
5858
this._pad = value;

src/ConvNetSharp.Flow/Layers/FullyConnLayer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public FullyConnLayer(int neuronCount)
1919

2020
public T BiasPref
2121
{
22-
get => this._biasPref;
22+
get { return this._biasPref; }
2323
set
2424
{
2525
this._biasPref = value;

src/ConvNetSharp.Volume.GPU/ConvNetSharp.Volume.GPU.2015.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,14 @@
7979
</ProjectReference>
8080
</ItemGroup>
8181
<ItemGroup>
82+
<EmbeddedResource Include="Double\Kernels\div.cu" />
83+
<EmbeddedResource Include="Double\Kernels\exp.cu" />
84+
<EmbeddedResource Include="Double\Kernels\log.cu" />
8285
<None Include="packages.config" />
86+
<EmbeddedResource Include="Single\Kernels\div.cu" />
87+
<EmbeddedResource Include="Single\Kernels\exp.cu" />
88+
<EmbeddedResource Include="Single\Kernels\log.cu" />
8389
</ItemGroup>
84-
<ItemGroup>
85-
<Folder Include="Double\Kernels\" />
86-
<Folder Include="Single\Kernels\" />
87-
</ItemGroup>
90+
<ItemGroup />
8891
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8992
</Project>

0 commit comments

Comments
 (0)