Stream frontend class to construct simple graphs in a stream fashion.
More...
#include <Stream.h>
Stream frontend class to construct simple graphs in a stream fashion.
Definition at line 45 of file Stream.h.
Stream |
( |
size_t |
id, |
|
|
std::string |
name |
|
) |
| |
Prevent instances of this class from being copied (As this class contains pointers)
Default move constructor.
void add_layer |
( |
ILayer & |
layer | ) |
|
|
overridevirtual |
Adds a layer to the stream.
- Parameters
-
Implements IStream.
void finalize |
( |
Target |
target, |
|
|
const GraphConfig & |
config |
|
) |
| |
Finalizes the stream for an execution target.
- Parameters
-
[in] | target | Execution target |
[in] | config | (Optional) Graph configuration to use |
Returns the underlying graph.
- Returns
- Underlying graph
Implements IStream.
const Graph& graph |
( |
| ) |
const |
|
overridevirtual |
Returns the underlying graph.
- Returns
- Underlying graph
Implements IStream.
Prevent instances of this class from being copied (As this class contains pointers)
Default move assignment operator.
The documentation for this class was generated from the following file: