Cortenn
Public Attributes | List of all members
llo::VecRef< T > Struct Template Reference

#include <data.hpp>

Public Attributes

const T * data
 Raw input data. More...
 
ade::Shape shape
 Shape info of the raw input. More...
 
ade::CoordptrT mapper
 Coordinate mapper of input to output. More...
 
bool push
 

Detailed Description

template<typename T>
struct llo::VecRef< T >

Type-specific tensor data wrapper using raw pointer and data size Avoid using std constainers in case of unintentional deep copies

Member Data Documentation

◆ data

template<typename T>
const T* llo::VecRef< T >::data

Raw input data.

◆ mapper

template<typename T>
ade::CoordptrT llo::VecRef< T >::mapper

Coordinate mapper of input to output.

◆ push

template<typename T>
bool llo::VecRef< T >::push

True if data should be pushed input to output (fwd mapper) False if data should be pulled output from input (bwd mapper)

◆ shape

template<typename T>
ade::Shape llo::VecRef< T >::shape

Shape info of the raw input.


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