FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TensorFlow.NET/src/TensorFlowNET.Keras/Models/ModelsApi.cs at master · MSavameri/TensorFlow.NET · GitHub
MSavameri
TensorFlow.NET
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Keras
/
Models
/
ModelsApi.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (12 loc) · 465 Bytes
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Keras
/
Models
/
ModelsApi.cs
Copy path
File metadata and controls
15 lines (12 loc) · 465 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using
Tensorflow
.
Keras
.
Saving
;
using
Tensorflow
.
Keras
.
Saving
.
SavedModel
;
namespace
Tensorflow
.
Keras
.
Models
;
public
class
ModelsApi
:
IModelsApi
{
public
Functional
from_config
(
FunctionalConfig
config
)
=>
Functional
.
from_config
(
config
)
;
public
IModel
load_model
(
string
filepath
,
bool
compile
=
true
,
LoadOptions
?
options
=
null
)
{
return
KerasLoadModelUtils
.
load_model
(
filepath
,
compile
:
compile
,
options
:
options
)
as
Model
;
}
}
Back
|
FazBrowse Home
|
New Git URL