Tenncor
Classes | Namespaces | Typedefs | Functions
custom_functor.hpp File Reference
#include "teq/iopfunc.hpp"
#include "eteq/generated/opcode.hpp"
#include "eteq/funcarg.hpp"
#include "eteq/constant.hpp"
#include "eteq/operator.hpp"
Include dependency graph for custom_functor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dbg::CustomFunctor< T >
 Functor that runs a custom functor instead of Eigen operators. More...
 
struct  dbg::CustomFunctorNode< T >
 CustomFunctor's node wrapper. More...
 

Namespaces

 dbg
 

Typedefs

template<typename T >
using dbg::DataMapT = std::vector< eteq::OpArg< T > >
 Arguments of raw data and shapes. More...
 
template<typename T >
using dbg::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 > dbg::make_functor (CustomOpF< T > op, eteq::ArgsT< T > args)
 Return custom functor node given custom function and arguments. More...