Session Constructor (String, String, SessionOptions, Buffer, Status) |
https://www.emgu.com/wiki/index.php/Emgu_TF
Create a Session from a SavedModel. If successful, populates the internal graph with the contents of the Graph and
with the MetaGraphDef of the loaded model.
Namespace:
Emgu.TF
Assembly:
Emgu.TF.Netstandard (in Emgu.TF.Netstandard.dll) Version: 2.6.0.1294
Syntaxpublic Session(
string exportDir,
string[] tags,
SessionOptions sessionOptions = null,
Buffer runOptions = null,
Status status = null
)
Public Sub New (
exportDir As String,
tags As String(),
Optional sessionOptions As SessionOptions = Nothing,
Optional runOptions As Buffer = Nothing,
Optional status As Status = Nothing
)
public:
Session(
String^ exportDir,
array<String^>^ tags,
SessionOptions^ sessionOptions = nullptr,
Buffer^ runOptions = nullptr,
Status^ status = nullptr
)
new :
exportDir : string *
tags : string[] *
?sessionOptions : SessionOptions *
?runOptions : Buffer *
?status : Status
(* Defaults:
let _sessionOptions = defaultArg sessionOptions null
let _runOptions = defaultArg runOptions null
let _status = defaultArg status null
*)
-> Session
Parameters
- exportDir
- Type: SystemString
Must be set to the path of the exported SavedModel. - tags
- Type: SystemString
Must include the set of tags used to identify one MetaGraphDef in the SavedModel. Could be "serve", "tpu", "gpu", "train" or other values. - sessionOptions (Optional)
- Type: Emgu.TFSessionOptions
Session options - runOptions (Optional)
- Type: Emgu.TFBuffer
[Missing <param name="runOptions"/> documentation for "M:Emgu.TF.Session.#ctor(System.String,System.String[],Emgu.TF.SessionOptions,Emgu.TF.Buffer,Emgu.TF.Status)"]
- status (Optional)
- Type: Emgu.TFStatus
The status
See Also