Tenncor
Classes | Typedefs | Functions | Variables
dbg Namespace Reference

Classes

struct  ClientConfig
 Configuration wrapper for creating the client. More...
 
struct  CustomFunctor
 Functor that runs a custom functor instead of Eigen operators. More...
 
struct  CustomFunctorNode
 CustomFunctor's node wrapper. More...
 
struct  EdgeInfo
 Graph edge intermediate representation. More...
 
struct  EdgeInfoHash
 Graph edge hashing. More...
 
struct  GraphEmitterClient
 GRPC client that checks for server health and make graph creation and update calls. More...
 
struct  InteractiveSession
 Session that makes GRPC client calls. More...
 

Typedefs

template<typename T >
using DataMapT = std::vector< eteq::OpArg< T > >
 Arguments of raw data and shapes. More...
 
template<typename T >
using CustomOpF = std::function< void(eteq::TensorT< T > &, const DataMapT< T > &)>
 Custom functor to assign DataMap to Eigen tensor output. More...
 

Functions

template<typename T >
eteq::NodeptrT< T > make_functor (CustomOpF< T > op, eteq::ArgsT< T > args)
 Return custom functor node given custom function and arguments. More...
 
bool operator== (const EdgeInfo &lhs, const EdgeInfo &rhs)
 Graph edge equality. More...
 

Variables

static const size_t max_attempts = 10
 
static const size_t data_sync_interval = 50
 
static const std::string tag_str_key = "name"
 
static const std::string tag_node_type = "node_type"
 
static const std::string edge_label_fmt = "parent-child-%d"
 

Detailed Description

custom_functor.hpp dbg

Purpose: Define custom functor version of eteq functor

client.hpp dbg

Purpose: Implement grpc client that create and update graphs

Typedef Documentation

◆ CustomOpF

template<typename T >
using dbg::CustomOpF = typedef std::function<void(eteq::TensorT<T>&,const DataMapT<T>&)>

Custom functor to assign DataMap to Eigen tensor output.

◆ DataMapT

template<typename T >
using dbg::DataMapT = typedef std::vector<eteq::OpArg<T> >

Arguments of raw data and shapes.

Function Documentation

◆ make_functor()

template<typename T >
eteq::NodeptrT<T> dbg::make_functor ( CustomOpF< T >  op,
eteq::ArgsT< T >  args 
)

Return custom functor node given custom function and arguments.

◆ operator==()

bool dbg::operator== ( const EdgeInfo lhs,
const EdgeInfo rhs 
)
inline

Graph edge equality.

Variable Documentation

◆ data_sync_interval

const size_t dbg::data_sync_interval = 50
static

◆ edge_label_fmt

const std::string dbg::edge_label_fmt = "parent-child-%d"
static

◆ max_attempts

const size_t dbg::max_attempts = 10
static

◆ tag_node_type

const std::string dbg::tag_node_type = "node_type"
static

◆ tag_str_key

const std::string dbg::tag_str_key = "name"
static