xtensor
xtensor copied to clipboard
C++ tensors with broadcasting and lazy computing
``` xt::xtensor a = {{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}, {{13, 14, 15, 16}, {17, 18, 19, 20}, {21, 22, 23, 24}}}; auto a_iter...
As per title: `source/xtensor.pc.in` has ``` prefix=@CMAKE_INSTALL_PREFIX@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ ``` and so can’t handle absolute paths in `CMAKE_INSTALL_LIBDIR`. This leads to broken .pc files on NixOS in particular. Identical to https://github.com/xtensor-stack/xsimd/issues/748....
I have procedure like below, what is the best and most performance practice for below procedure? ```c++ // what is the type here ? auto tmp = xt::zeros(shape); if (condition1)...
I have a numpy array with dtype of '|S19' and I tried to use load_npy to load it but failed. Is it possible to do it with xtensor?
I'm trying to figure out why the code snippet requires assignment to a concrete xarray or xt::eval called to compile. I should be able to make these all auto and...
# Checklist - [ ] The title and commit message(s) are descriptive. - [ ] Small commits made to fix your PR have been squashed to avoid history pollution. -...
Hi XTensor community, I maintain [Flashlight](https://github.com/flashlight/flashlight), a lightweight library for machine learning used at Meta AI and elsewhere. Part of our goal with Flashlight is to spur research and consolidation...
…omplex definitions. added xfft: -xt::fft::fft -xt::fft::ifft -xt::fft::fftconvolve Added xfft tests suite to build and added relevant tests for routines referenced above # Checklist - [x] The title and commit message(s)...
Currently, xtensor can be installed via Conda. However, it feels as though the installation mechanisms provided by `pip` have grown very advanced with good design, and hence it is useful...
Ran into some weird behavior where some compilers allowed me to do as I wish and use the predefined numerical constants in xmath.hpp and other were not allowing it. The...