-
Currently,`xt::pytensor py({2,2});` creates an empty tensor with shape `(2,2)`.
However, `xt::xtensor cxx({2,2});` throws an error because here, `xtensor` is trying to initialize `cxx` with the val…
-
As shown in @wolfv's very nice [blog post](https://towardsdatascience.com/the-xtensor-vision-552dd978e9ad) on xtensor's vision, one of xtensor's greatest assets is to be able writing an implementation…
-
Experienced this issue with make
In file included from /home/ubuntu/Desktop/jetson-reinforcement/c/pyTensor.cpp:6:0:
/home/ubuntu/Desktop/jetson-reinforcement/c/pyTorch.h:14:19: fatal error: TH/TH…
-
I've been trying to get xtensor-python working for the last couple days with no luck.
I have `xtl`, `xtensor`, `pybind11` all installed (installed from the master branch) and working correctly. Now…
-
## Issue description
I'm trying to return a nested STL container from a member function.
My function signature is: `State reset();`
My `using` statements look like this:
using Action =…
-
I am comparing the simple computation in python:
```python
import numpy as np
import numba as nb
def compute_mid_price_numpy(ask_price, bid_price):
return (ask_price + bid_price) / 2.0
…
-
This is a continuation of the discussion in issue #389, but likely this is an independent problem.
The following C++ code
```c++
xt::xtensor test(const xt::pytensor &a,int idx){
xt::xtensor b;…
-
Is there a way to go from a xt::pytensor to xt::xtensor and back again without copying the underlying data ?
If so, it would be nice with some documentation on how to do it. If not, then I have a fea…
-
Putting an `xt::pytensor` inside an `std::tuple` seems to cause a memory leak, e.g.:
```
void leak() {
xt::pytensor ones = xt::ones({10});
std::tuple tup(ones);
}
```
Using pybind11's `…
-
Pyarray and pytensor rely on pybind11 `make_caster::name()` to determine the string representation of its `value_type` (which is then used for the auto-generated docstring). However, `make_caster` ass…