Browse Source

fix compile error.

tags/v0.12
Oceania2018 6 years ago
parent
commit
0f59f6d839
2 changed files with 9 additions and 3 deletions
  1. +7
    -1
      TensorFlow.NET.sln
  2. +2
    -2
      test/TensorFlowNET.Examples/TextProcessing/BinaryTextClassification.cs

+ 7
- 1
TensorFlow.NET.sln View File

@@ -19,10 +19,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TensorFlowHub", "src\Tensor
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TensorFlowText", "src\TensorFlowText\TensorFlowText.csproj", "{B598E5D5-BD2D-4191-8532-F2FBAC31AB81}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TensorFlowDatasets", "src\TensorFlowDatasets\TensorFlowDatasets.csproj", "{DF151A51-E9FD-41BD-B0F4-08A743755D44}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TensorFlowDatasets", "src\TensorFlowDatasets\TensorFlowDatasets.csproj", "{DF151A51-E9FD-41BD-B0F4-08A743755D44}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TensorFlowNET.Examples.GPU", "test\TensorFlowNET.Examples\TensorFlowNET.Examples.GPU.csproj", "{6F6B3382-8F87-4CD9-BF87-C81D5405685A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NumSharp.Core", "..\NumSharp\src\NumSharp.Core\NumSharp.Core.csproj", "{4E3C61B7-D6F7-4E8F-B74A-47B6CD40D838}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -69,6 +71,10 @@ Global
{6F6B3382-8F87-4CD9-BF87-C81D5405685A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6F6B3382-8F87-4CD9-BF87-C81D5405685A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6F6B3382-8F87-4CD9-BF87-C81D5405685A}.Release|Any CPU.Build.0 = Release|Any CPU
{4E3C61B7-D6F7-4E8F-B74A-47B6CD40D838}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4E3C61B7-D6F7-4E8F-B74A-47B6CD40D838}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4E3C61B7-D6F7-4E8F-B74A-47B6CD40D838}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4E3C61B7-D6F7-4E8F-B74A-47B6CD40D838}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE


+ 2
- 2
test/TensorFlowNET.Examples/TextProcessing/BinaryTextClassification.cs View File

@@ -76,8 +76,8 @@ namespace TensorFlowNET.Examples
labels_test = labels_test[indices_test];

// not completed
var xs = x_train.hstack<string>(x_test);
var labels = labels_train.hstack<int>(labels_test);
var xs = x_train.hstack(x_test);
var labels = labels_train.hstack(labels_test);

var idx = x_train.size;
var y_train = labels_train;


Loading…
Cancel
Save