This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
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
NeuralNetXor goes through.
tags/v0.12
Oceania2018
6 years ago
parent
1ac115623c
commit
990e774e20
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/TensorFlowNET.Core/Sessions/_FetchMapper.cs
+ 1
- 1
src/TensorFlowNET.Core/Sessions/_FetchMapper.cs
View File
@@ -47,7 +47,7 @@ namespace Tensorflow
switch(Type.GetTypeCode(type))
{
case TypeCode.Single:
return np.array(values.Select(x =>
x.GetSingle(0)
).ToArray());
return np.array(values.Select(x =>
(float)x
).ToArray());
default:
throw new NotImplementedException("build_results");
}
Write
Preview
Loading…
Cancel
Save