|
tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
|
#include <strided_layout.h>

Public Member Functions | |
| StridedLayout (const my_size_t dims[NumberOfDims]) noexcept | |
| StridedLayout (const StridedLayout &other)=default | |
| StridedLayout (StridedLayout &&other)=default | |
| StridedLayout & | operator= (const StridedLayout &other)=default |
| StridedLayout & | operator= (StridedLayout &&other)=default |
| FORCE_INLINE constexpr my_size_t | getNumDims () const noexcept |
| FORCE_INLINE my_size_t | getDim (my_size_t i) const |
| FORCE_INLINE my_size_t | getStride (my_size_t i) const |
| void | compute_row_major_strides () noexcept |
| FORCE_INLINE void | compute_indices_from_flat (my_size_t flatIdx, my_size_t(&indices)[NumberOfDims]) const noexcept |
| FORCE_INLINE my_size_t | compute_flat_index (const my_size_t *indices) const |
| FORCE_INLINE my_size_t | computeOffsetFromFlat (my_size_t flat) const noexcept |
Public Attributes | |
| my_size_t | shape [NumberOfDims] |
| my_size_t | stride [NumberOfDims] |
|
inlinenoexcept |

|
default |
|
default |
|
inline |

|
inlinenoexcept |

|
inlinenoexcept |

|
inlinenoexcept |

|
inline |

|
inlineconstexprnoexcept |
|
inline |

|
default |
|
default |
| my_size_t StridedLayout< NumberOfDims >::shape[NumberOfDims] |
| my_size_t StridedLayout< NumberOfDims >::stride[NumberOfDims] |