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
fix make_tensor_proto didn't set dtype correctly.
tags/v0.60-tf.numpy
Oceania2018
4 years ago
parent
2e3bc0630f
commit
cd2f0c0ec1
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/TensorFlowNET.Core/Tensors/tensor_util.cs
+ 2
- 0
src/TensorFlowNET.Core/Tensors/tensor_util.cs
View File
@@ -123,6 +123,8 @@ namespace Tensorflow
}
else
values = Convert.ChangeType(values, new_system_dtype);
dtype = values.GetDataType();
}
shape = shape ?? values.GetShape();
Write
Preview
Loading…
Cancel
Save