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
Session.LoadFromSavedModel: Removed redundant .as_default() call.
tags/v0.12
Eli Belash
6 years ago
parent
b2512954bf
commit
dc4a4c22d8
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/TensorFlowNET.Core/Sessions/Session.cs
+ 1
- 1
src/TensorFlowNET.Core/Sessions/Session.cs
View File
@@ -65,7 +65,7 @@ namespace Tensorflow
// var meta_graph = MetaGraphDef.Parser.ParseFrom(data);*/
status.Check(true);
return new Session(sess, g: new Graph(graph)
.as_default()
).as_default();
return new Session(sess, g: new Graph(graph)).as_default();
}
}
Write
Preview
Loading…
Cancel
Save