clDNN
cldnn::topology Struct Reference

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.
 
topologyoperator= (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_idget_primitive_ids () const
 

Friends

bool operator== (const topology &lhs, const topology &rhs)
 
bool operator!= (const topology &lhs, const topology &rhs)
 

Detailed Description

Network topology to be defined by user.

Definition at line 33 of file topology.hpp.


The documentation for this struct was generated from the following file: