clDNN
|
Network topology to be defined by user. More...
#include <topology.hpp>
Public Member Functions | |
topology () | |
Constructs empty network topology. | |
template<class ... Args> | |
topology (const Args &... args) | |
Constructs topology containing primitives provided in argument(s). | |
topology (const topology &other) | |
Copy construction. | |
topology & | operator= (const topology &other) |
Copy assignment. | |
~topology () | |
Releases wrapped C API cldnn_topology. | |
template<class PType > | |
void | add (PType const &desc) |
Adds a primitive to topology. | |
template<class PType , class ... Args> | |
void | add (PType const &desc, Args const &... args) |
Adds primitives to topology. | |
cldnn_topology | get () const |
Returns wrapped C API cldnn_topology. | |
const std::vector< primitive_id > | get_primitive_ids () const |
Friends | |
bool | operator== (const topology &lhs, const topology &rhs) |
bool | operator!= (const topology &lhs, const topology &rhs) |
Network topology to be defined by user.
Definition at line 33 of file topology.hpp.