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
Added tf.get_default_session()
tags/v0.20
Eli Belash
5 years ago
parent
b680700dae
commit
0f82f27971
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/tensorflow.cs
+ 5
- 0
src/TensorFlowNET.Core/tensorflow.cs
View File
@@ -88,6 +88,11 @@ namespace Tensorflow
public string VERSION => c_api.StringPiece(c_api.TF_Version());
public Session get_default_session()
{
return ops.get_default_session();
}
public Session Session()
{
return new Session().as_default();
Write
Preview
Loading…
Cancel
Save