xtensor-python icon indicating copy to clipboard operation
xtensor-python copied to clipboard

Python bindings for xtensor

Results 51 xtensor-python issues
Sort by recently updated
recently updated
newest added

This should be done via the xoptional assembly proposed in https://github.com/QuantStack/xtensor/issues/238.

Feature Request

This should make it easier to track undetected pybind11 bugs in the master branch.

Feature Request

I included into my code to let pybind11 automatically convert xtensor xarrays to numpy arrays. However I get two "-wunused-parameter warnings" which seem to be straightforward to fix :-)

Including this project via `add_subdirectory(path/to/xtensor/python)` leads to ```bash [cmake] ERRORMismatch xtensor versions. Found '..' but requires: '0.24.0' ``` at the cmake configuration step. The variables `${XTENSOR_VERSION_MAJOR}`, `${XTENSOR_VERSION_MINOR}`, `${XTENSOR_VERSION_PATCH}` seems to...

I am following [XTensor-python](https://github.com/xtensor-stack/xtensor-python) [tutorial](https://xtensor-python.readthedocs.io/en/latest/) to build a XTensor C++ project which has Python binding with CMake. The end goal is to create a self-contained Python package that users can...

After a quick inspection of xtensor-python's internals, it looks like it shouldn't be too hard supporting both pybind11 and [nanobind](https://github.com/wjakob/nanobind) via some sort of minimal compatibility layer? Both have a...

I'm trying to wrap a custom type using pybind11 and xtensor-python. Although I can create a numpy array of my wrapped type from Python, I cannot pass this numpy array...

Version: ``` name: SomeEnvironment channels: - https://conda.anaconda.org/conda-forge # Originally created on Ubuntu Jammy: dependencies: - numpy=1.24 - python=3.9 - xtensor-python=0.26.1 - xtensor-blas: Need to check, the machine in question is...