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
output_names exeption if length is zero.
tags/v0.100.5-BERT-load
Haiping Chen
2 years ago
parent
e5dfe90e9b
commit
f4450e9e53
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/Graphs/FuncGraph.cs
+ 5
- 0
src/TensorFlowNET.Core/Graphs/FuncGraph.cs
View File
@@ -61,6 +61,11 @@ public class FuncGraph : Graph, IDisposable
string[] output_names)
{
var status = new Status();
if (output_names != null && output_names.Length == 0)
{
output_names = null;
};
_func_graph_handle = c_api.TF_GraphToFunction(_handle,
_graph_key,
false,
Write
Preview
Loading…
Cancel
Save