GraphSession Class
Builder for a runtime graph — compile a Graph into a runnable GraphRun. More...
Declaration
Included Headers
Public Constructors Index
| GraphSession (Graph graph) | |
|
Wrap a runtime Graph so it can be built into a GraphRun. More... | |
Public Member Functions Index
| GraphRun | build (const GraphRunOptions &opt={}) |
|
Compile the wrapped graph and return a runnable GraphRun. More... | |
Private Member Attributes Index
| Graph | graph_ |
Description
Builder for a runtime graph — compile a Graph into a runnable GraphRun.
Single-use: construct with the topology, then call build() once to produce the runtime. The session retains ownership of the source graph for diagnostics.
Definition at line 33 of file GraphSession.h.
Public Constructors
GraphSession()
| explicit |
Wrap a runtime Graph so it can be built into a GraphRun.
Definition at line 36 of file GraphSession.h.
Public Member Functions
build()
|
Compile the wrapped graph and return a runnable GraphRun.
- Parameters
-
opt Runtime tuning knobs (scheduler, queues, telemetry).
- Exceptions
-
<a href="/reference/cppapi/classes/simaai-neat-sessionerror">SessionError</a> on compile-time validation failures (cycles, port mismatches).
Definition at line 43 of file GraphSession.h.
Private Member Attributes
graph_
|
Definition at line 46 of file GraphSession.h.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.