Closed wolfv closed 6 years ago
This also modifies reshape in such a way that reshape always keeps the original numpy buffer (and calls the underlying C API for the actual reshape).
please don't merge, need to fix adapting the strides after modification.
I'm pretty sure the memory management should be handled differently. lets discuss on monday.
https://github.com/wolfv/xtensor-python/blob/35f6f08e0468f1508a01e064a426b6b6d77a1ed3/include/xtensor-python/pycontainer.hpp#L350-L352
This also modifies reshape in such a way that reshape always keeps the original numpy buffer (and calls the underlying C API for the actual reshape).