1 Repo
Custom adaptors that map raw memory pointers or foreign containers to a multidimensional array interface.
Distinct from External Library Adapters: Focuses on the structural adaptation to a tensor interface rather than just library-level file format support.
Explore 1 awesome GitHub repository matching data & databases · Multidimensional Interface Adaptors. Refine with filters or upvote what's useful.
xtensor is a C++ multidimensional array library for numerical computing that provides N-dimensional containers with an interface mirroring the NumPy API. It utilizes a lazy evaluation expression engine to defer numerical computations until assignment, which minimizes memory allocations and intermediate copies. The library features a foreign memory array adaptor that allows it to wrap external buffers, such as NumPy arrays, to perform numerical operations in-place without duplicating data. It further optimizes performance through lazy broadcasting and a system that manages the lifetime of temp
Maps external memory pointers or third-party containers to a multidimensional interface using custom adaptors.