This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
scisharp
/
TensorFlow.NET
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
21
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
The Logistic Regression accuracy is correct. But still has performance issue.
tags/v0.12
Oceania2018
6 years ago
parent
af9f178060
commit
cfec53ea94
3 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/TensorFlowHub/MnistDataSet.cs
+2
-2
src/TensorFlowHub/Utils.cs
+1
-1
src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs
+ 1
- 1
src/TensorFlowHub/MnistDataSet.cs
View File
@@ -20,7 +20,7 @@ namespace Tensorflow.Hub
NumOfExamples = images.shape[0];
images = images.reshape(images.shape[0], images.shape[1] * images.shape[2]);
images.astype(dataType);
images
= images
.astype(dataType);
images = np.multiply(images, 1.0f / 255.0f);
Data = images;
+ 2
- 2
src/TensorFlowHub/Utils.cs
View File
@@ -116,11 +116,11 @@ namespace Tensorflow.Hub
{
var cols = 0;
await Task.Delay(100
0
);
await Task.Delay(100);
while (!cts.IsCancellationRequested)
{
await Task.Delay(100
0
);
await Task.Delay(100);
Console.Write(".");
cols++;
+ 1
- 1
src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs
View File
@@ -514,7 +514,7 @@ namespace Tensorflow
if (nd.dtype.Name != "String")
{
buffersize = (nd.size * nd.dtypesize);
dotHandle = Marshal.AllocHGlobal(buffersize);
//
dotHandle = Marshal.AllocHGlobal(buffersize);
}
var dataType = ToTFDataType(nd.dtype);
Write
Preview
Loading…
Cancel
Save