-
Here's what happens:
```sh
➜ build git:(master) cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON=ON ..
-- Will build Python extension
-- Release Build
-- Shared library
-- Submodule update
-- pyb…
-
Hi!
For both simd optimizations and clean numpy style code in C++, maybe you could consider using `xtensor`.
You could that way also leverage its in place use of numpy arrays using `xtensor-pyth…
-
When I use xt::linalg::dot on xt::pytensor objects (from xtensor-python) I get two compilation errors for lines 750 and 841 in xlinalg.h:
> xtensor-blas/xlinalg.hpp(841): error C2398: Element '2': …
-
### Environment
- Pythonnet version: 2.3.0
- Python version: 3.6
- Operating System: Windows 10 x64
### Details
I am trying to generate statically-typed wrappers for Python libraries,…
-
The following snippet fails to compile
```c++
#include "xtensor-python/pyarray.hpp"
#include "xtensor-python/pytensor.hpp"
auto xtensor_test(xt::pytensor& arr, xt::xtensor const& x) {
arr /…
-
I am following the example of pybind11:
https://pybind11.readthedocs.io/en/stable/advanced/classes.html#pickling-support
my code is like:
```c++
.def(py::pickle(
[](const VectorClou…
-
I have the following function
```
template
inline auto f(E&& src)
{
using value_type = typename std::decay_t::value_type;
auto shape = src.shape();
# how can I deduce the type of 'red…
-
currently, we are just having functions in c++, this makes the c++ code very fragmented and unorganized. It would be nice to directly interface with python.
https://pybind11.readthedocs.io/en/stabl…
-
Today when I run the singa/test/python/test_operation.py, I get these errors:
```
ubuntu@ip-172-31-24-48:~/singa/test/python$ python3 test_operation.py
...........................................…
-
How can I use xtensor-python with numpy arrays? I'd want to call functions implemented with xtensor c++ from python passing numpy arrays, and also return numpy arrays to python.
Is there a discuss…