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
Tensor.Creation: Minor bug fix
tags/v0.12
Eli Belash
6 years ago
parent
70aafa7203
commit
c0969be2b0
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/Status/c_api.status.cs
+0
-1
src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs
+ 1
- 1
src/TensorFlowNET.Core/Status/c_api.status.cs
View File
@@ -51,7 +51,7 @@ namespace Tensorflow
/// </summary>
/// <returns></returns>
[DllImport(TensorFlowLibName)]
public static
unsafe
extern IntPtr TF_NewStatus();
public static extern IntPtr TF_NewStatus();
/// <summary>
/// Record <code, msg> in *s. Any previous information is lost.
+ 0
- 1
src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs
View File
@@ -528,7 +528,6 @@ namespace Tensorflow
}
_handle = CreateTensorFromNDArray(nd, tensorDType);
IsMemoryOwner = true;
}
private unsafe IntPtr CreateTensorFromNDArray(NDArray nd, TF_DataType? given_dtype)
Write
Preview
Loading…
Cancel
Save