xtensor icon indicating copy to clipboard operation
xtensor copied to clipboard

C++ tensors with broadcasting and lazy computing

Results 220 xtensor issues
Sort by recently updated
recently updated
newest added

Somewhat confused as to which views can be implicitly copied and which can't. Does this look like a usability bug to you folks? https://godbolt.org/z/zqfbjvYb6 ``` #include #include int main() {...

This pr adds type trait `xt::detail::has_fixed_size` to replace a common usage of `xt::detail::is_array` where implementation can benefit if the size of the container (usually used for shape) is known at...

This merge request fixes some issues with iterators. - [x] `xfunctor_view::crbegin` was returning non const iterator - [x] `xiterator_adaptor::data` was returning iterator, not a pointer - [x] `xt::reshape_view().rbegin()` didn't compile...

Platform: Windows xtensor: 0.23.10 Hi all, I have met some trouble when I use `xtensor` from my own code by `target_link_libraries`, could anybody tell me how to do it in...

We recently updated to VS 2022 (with MSVC 14.32.31326) and now get a crash when calling xtensor code (more precisly `xt::argmax`). I tried updating the library but the problem remains,...

Bug

Added natvis file to tools which can be used to display array and tensor shapes with data in debug. Since there wasn't one I decided to start by implementing one...

Decided to integrate xtensor library into my personal project, however found out that its hard to inspect tensors and arrays in without a natvis file. Does this project have one?...

Running a list of random numbers with the same seed yields different results. **Python**: ```python np.random.seed(1) print (np.random.randint(0, 1000, size=100)) ``` Python results ``` [ 37 235 908 72 767...

Discussion

I tried to adapt a splat tensor. However, xtensor threw a runtime error with message `xbuffer_storage not resizable`. It seems that xtensor expects that buffer size equals to tensor size....

Enhancement