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
Fix model.evaluate in NeuralNetXorKeras.
tags/v0.110.0-LSTM-Model
Haiping Chen
2 years ago
parent
0454c7b068
commit
46e2162797
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
src/TensorFlowNET.Core/APIs/c_api.cs
+ 5
- 0
src/TensorFlowNET.Core/APIs/c_api.cs
View File
@@ -53,6 +53,11 @@ namespace Tensorflow
public unsafe static byte[] ByteStringPiece(IntPtr handle)
{
if (handle == IntPtr.Zero)
{
return new byte[0];
}
byte* str_data = (byte*)handle.ToPointer();
List<byte> bytes = new List<byte>();
byte current = 255;
Write
Preview
Loading…
Cancel
Save