Session Constructor (Graph, SessionOptions, Status) |
https://www.emgu.com/wiki/index.php/Emgu_TF
Return a new execution session with the associated graph.
Namespace:
Emgu.TF
Assembly:
Emgu.TF.Netstandard (in Emgu.TF.Netstandard.dll) Version: 2.6.0.1294
Syntaxpublic Session(
Graph graph,
SessionOptions sessionOptions = null,
Status status = null
)
Public Sub New (
graph As Graph,
Optional sessionOptions As SessionOptions = Nothing,
Optional status As Status = Nothing
)
public:
Session(
Graph^ graph,
SessionOptions^ sessionOptions = nullptr,
Status^ status = nullptr
)
new :
graph : Graph *
?sessionOptions : SessionOptions *
?status : Status
(* Defaults:
let _sessionOptions = defaultArg sessionOptions null
let _status = defaultArg status null
*)
-> Session
Parameters
- graph
- Type: Emgu.TFGraph
Graph must be a valid graph (not deleted or null). This function will
prevent the graph from being deleted until Session is deleted.
Does not take ownership of opts.
- sessionOptions (Optional)
- Type: Emgu.TFSessionOptions
The session options - status (Optional)
- Type: Emgu.TFStatus
The status
See Also