Cortenn
Classes | Namespaces | Typedefs | Functions
data.hpp File Reference
#include <memory>
#include "ade/coord.hpp"
#include "ade/ileaf.hpp"
#include "llo/generated/codes.hpp"
Include dependency graph for data.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llo::GenericData
 GenericData for holding data when passing up the tensor graph. More...
 
struct  llo::GenericRef
 
struct  llo::Variable
 Leaf node containing GenericData. More...
 
struct  llo::DataArg
 Data to pass around when evaluating. More...
 
struct  llo::VecRef< T >
 

Namespaces

 llo
 

Typedefs

using llo::VarptrT = std::shared_ptr< llo::Variable >
 Smart pointer for variable nodes. More...
 
using llo::DataArgsT = std::vector< DataArg >
 Vector of DataArgs to hold arguments. More...
 

Functions

template<typename T >
VarptrT llo::get_variable (std::vector< T > data, ade::Shape shape, std::string label="")
 
template<typename T >
VarptrT llo::get_variable (ade::Shape shape, std::string label="")
 
template<typename T >
VarptrT llo::get_scalar (T scalar, ade::Shape shape, std::string label="")
 
template<typename T >
VecRef< T > llo::to_ref (DataArg &arg)
 Converts DataArgs to VecRef of specific type. More...
 
template<typename T >
std::vector< VecRef< T > > llo::to_refs (DataArgsT &args)
 Converts multiple DataArgs to multiple VecRefs of the same type. More...