You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @potpath indeed. We currently don't have support for dynamic layout in xtensor-blas. Also, it would be quite hard (potentially)...
We could check if the dynamic layout is in fact row- or column major (we actually do this in the view code in xtensor).
If it is not, we could allocate a new container, and store the data with the default layout (however, this will have bad performance characteristics).
I think we should also make it possible to pass a layout parameter to the adapt function you're using (as last argument), I'll open a bug report on xtensor.
This is shown in the following code example.
Output:
This is caused by the dynamic
layout_type
andget_leading_stride()
in https://github.com/QuantStack/xtensor-blas/blob/master/include/xtensor-blas/xblas_utils.hpp#L129.The text was updated successfully, but these errors were encountered: