xtensor
xtensor copied to clipboard
C++ tensors with broadcasting and lazy computing
I'm trying to use vectorized saturation arithmetic (ie, if the result of an operation would be larger than the bounds of the type, clamp it to min and max). Opencv...
# Description C++ 20 deprecates some std::allocator members. This PR updates xtensor allocators to work with C++20. https://en.cppreference.com/w/cpp/memory/allocator
The following example compiles and runs successfully with gcc (7.3.0 and 8.2.0) and Intel (2018 and 2019) but if I try to turn off all optimizations with ``-O0`` and run...
Hi, When assigning with a scalar on a xadaptor with non-contiguous strides, there is some problem where contiguous assignment is done instead, producing unexpected results. For instance, the following does...
Just come across this library, I have been looking for this for so long (I remember this effort in Boost https://lists.boost.org/boost-users/2011/05/68426.php)... This is great. In the documentation I could not...
The performance of means which are not on the contiguous axis in xtensor appear to be slower than optimal. I have provided benchmarks below using a more optimized approach. It...
Just wanted to put this here. If xtensor jumps to C++20 would the project want to go all in on concepts and modules? I think this would greatly improve compile...
Currently the default behaviour of `xsemantic_base::operator=(const xexpression& e)` is to create a temporary copy of `e` to avoid any problems with overlapping memory. However, if the user doesn't use some...
xsimd 12 was recently released. It provides significant improvements in stability on less common architectures such as armhf, and has stabilised handling of batch bools (essentially by not doing it),...
The debian build is having a timeout problem building CI tests for xtensor 0.24.7 on arm64. I don't think it's an actual bug, but I'd like to hear your recommendations...