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
Merge pull request
#562
from sharwell/fix-graph-test
Fix Tensor constructor for int32
tags/v0.20
Haiping
GitHub
5 years ago
parent
43b182ed07
284d3b1033
commit
6f74c425a8
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
2 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs
+0
-1
test/TensorFlowNET.UnitTest/GraphTest.cs
+ 1
- 1
src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs
View File
@@ -64,7 +64,7 @@ namespace Tensorflow
{
unsafe
{
_handle = TF_NewTensor(tf.int32, dims: null, num_dims: 0, data:
null
, len: sizeof(int));
_handle = TF_NewTensor(tf.int32, dims: null, num_dims: 0, data:
&value
, len: sizeof(int));
}
}
+ 0
- 1
test/TensorFlowNET.UnitTest/GraphTest.cs
View File
@@ -7,7 +7,6 @@ using static Tensorflow.Binding;
namespace TensorFlowNET.UnitTest.NativeAPI
{
[Ignore]
[TestClass]
public class GraphTest : CApiTest
{
Write
Preview
Loading…
Cancel
Save