Public Types | Public Member Functions | Private Attributes | List of all members
movidius_ncs_lib::Graph Class Reference

#include <graph.h>

Public Types

using ConstPtr = std::shared_ptr< Graph const >
 
using Ptr = std::shared_ptr< Graph >
 

Public Member Functions

void allocate (void *device_handle)
 
void deallocate ()
 
std::string getDebugInfo ()
 
void * getHandle ()
 
int getNetworkDim () const
 
float getTimeTaken ()
 
 Graph (const Device::Ptr &device, const std::string &graph_file, int network_dimension)
 
 ~Graph ()
 

Private Attributes

std::string graph_buf_
 
void * handle_
 
const int network_dimension_
 

Detailed Description

Definition at line 32 of file graph.h.

Member Typedef Documentation

using movidius_ncs_lib::Graph::ConstPtr = std::shared_ptr<Graph const>

Definition at line 36 of file graph.h.

using movidius_ncs_lib::Graph::Ptr = std::shared_ptr<Graph>

Definition at line 35 of file graph.h.

Constructor & Destructor Documentation

movidius_ncs_lib::Graph::Graph ( const Device::Ptr device,
const std::string &  graph_file,
int  network_dimension 
)

Definition at line 30 of file graph.cpp.

movidius_ncs_lib::Graph::~Graph ( )

Definition at line 40 of file graph.cpp.

Member Function Documentation

void movidius_ncs_lib::Graph::allocate ( void *  device_handle)

Definition at line 93 of file graph.cpp.

void movidius_ncs_lib::Graph::deallocate ( )

Definition at line 102 of file graph.cpp.

std::string movidius_ncs_lib::Graph::getDebugInfo ( )

Definition at line 52 of file graph.cpp.

void * movidius_ncs_lib::Graph::getHandle ( )

Definition at line 87 of file graph.cpp.

int movidius_ncs_lib::Graph::getNetworkDim ( ) const
inline

Definition at line 49 of file graph.h.

float movidius_ncs_lib::Graph::getTimeTaken ( )

Definition at line 66 of file graph.cpp.

Member Data Documentation

std::string movidius_ncs_lib::Graph::graph_buf_
private

Definition at line 54 of file graph.h.

void* movidius_ncs_lib::Graph::handle_
private

Definition at line 56 of file graph.h.

const int movidius_ncs_lib::Graph::network_dimension_
private

Definition at line 55 of file graph.h.


The documentation for this class was generated from the following files:


movidius_ncs_lib
Author(s): Xiaojun Huang
autogenerated on Mon Jun 10 2019 14:11:23