Home
last modified time | relevance | path

Searched refs:m_backstrides (Results 1 – 9 of 9) sorted by relevance

/dports/math/xtensor/xtensor-0.24.0/include/xtensor/
H A Dxcontainer.hpp330 inner_backstrides_type m_backstrides; member in xt::xstrided_container
835 m_backstrides = xtl::make_sequence<inner_backstrides_type>(m_shape.size(), 0); in xstrided_container()
836 adapt_strides(m_shape, m_strides, m_backstrides); in xstrided_container()
872 return m_backstrides; in backstrides_impl()
878 return m_backstrides; in backstrides_impl()
954 resize_container(m_backstrides, dim); in resize()
1001 resize_container(m_backstrides, m_strides.size()); in resize()
1002 adapt_strides(m_shape, m_strides, m_backstrides); in resize()
1058 resize_container(m_backstrides, m_shape.size()); in reshape_impl()
1059 compute_strides<D::static_layout>(m_shape, m_layout, m_strides, m_backstrides); in reshape_impl()
[all …]
H A Dxstrided_view_base.hpp210 inner_backstrides_type m_backstrides; member in xt::xstrided_view_base
321 m_backstrides = xtl::make_sequence<backstrides_type>(m_shape.size(), 0); in xstrided_view_base()
322 adapt_strides(m_shape, m_strides, m_backstrides); in xstrided_view_base()
349 m_backstrides(std::move(rhs.m_backstrides)), in xstrided_view_base()
362 m_backstrides(rhs.m_backstrides), in xstrided_view_base()
397 return m_backstrides; in backstrides()
H A Dxfixed.hpp368 …XTENSOR_CONSTEXPR_ENHANCED_STATIC inner_backstrides_type m_backstrides = get_backstrides(m_shape, … member in xt::xfixed_container
389 …iner<ET, S, L, SH, Tag>::inner_backstrides_type xfixed_container<ET, S, L, SH, Tag>::m_backstrides; member in xt::xfixed_container<ET, S, L, SH, Tag>
501 …XTENSOR_CONSTEXPR_ENHANCED_STATIC inner_backstrides_type m_backstrides = get_backstrides(m_shape, … member in xt::xfixed_adaptor
522 …daptor<EC, S, L, SH, Tag>::inner_backstrides_type xfixed_adaptor<EC, S, L, SH, Tag>::m_backstrides; member in xt::xfixed_adaptor<EC, S, L, SH, Tag>
763 return m_backstrides; in backstrides_impl()
948 return m_backstrides; in backstrides_impl()
H A Dxview.hpp673 mutable inner_backstrides_type m_backstrides; member in xt::xview
896 m_backstrides(m_e.backstrides()),
1286 return m_backstrides; in backstrides()
1538 m_backstrides = xtl::make_sequence<inner_strides_type>(this->dimension(), 0); in compute_strides()
1548 detail::adapt_strides(shape(), m_strides, &m_backstrides, i); in compute_strides()
1553 detail::adapt_strides(shape(), m_strides, &m_backstrides, i); in compute_strides()
/dports/math/xtensor-python/xtensor-python-0.26.0/test/
H A Dtest_common.hpp60 strides_type m_backstrides; member
68 inline const strides_type& backstrides() const { return m_backstrides; } in backstrides()
79 this->m_backstrides = {16, 4, 3}; in row_major_result()
93 this->m_backstrides = {2, 3, 18}; in column_major_result()
108 this->m_backstrides = {16, 1, 6}; in central_major_result()
130 m_backstrides = {8, 0, 3}; in unit_shape_result()
145 strides_type m_backstrides; member
153 inline const strides_type& backstrides() const { return m_backstrides; } in backstrides()
253 strides_type new_backstrides = {rm.m_backstrides[2], in test_transpose()
254 rm.m_backstrides[1], in test_transpose()
[all …]
/dports/math/xtensor/xtensor-0.24.0/test/
H A Dtest_common.hpp98 strides_type m_backstrides; member
117 this->m_backstrides = {16, 4, 3}; in row_major_result()
131 this->m_backstrides = {2, 3, 18}; in column_major_result()
146 this->m_backstrides = {16, 1, 6}; in central_major_result()
169 m_backstrides = {8, 0, 3}; in unit_shape_result()
184 strides_type m_backstrides; member
334 strides_type new_backstrides = {rm.m_backstrides[2], in test_transpose()
335 rm.m_backstrides[1], in test_transpose()
336 rm.m_backstrides[0]}; in test_transpose()
366 strides_type new_backstrides = {rm.m_backstrides[1], in test_transpose()
[all …]
/dports/math/xtensor-python/xtensor-python-0.26.0/include/xtensor-python/
H A Dpytensor.hpp234 inner_backstrides_type m_backstrides; member in xt::pytensor
474 adapt_strides(m_shape, m_strides, m_backstrides); in init_tensor()
495 adapt_strides(m_shape, m_strides, m_backstrides); in init_from_python()
533 return m_backstrides; in backstrides_impl()
539 return m_backstrides; in backstrides_impl()
H A Dpyarray.hpp215 mutable inner_backstrides_type m_backstrides; member in xt::pyarray
529 m_backstrides = backstrides_type(*this); in init_from_python()
552 m_backstrides = backstrides_type(*this); in backstrides_impl()
553 return m_backstrides; in backstrides_impl()
/dports/math/xtensor/xtensor-0.24.0/docs/source/
H A Dexternal-structures.rst63 shape_type m_backstrides;
196 m_raw.m_backstrides.resize(shape.size());
197 size_type data_size = compute_strides(m_shape, l, m_strides, m_backstrides);
206 m_raw.m_backstrides.resize(shape.size());
207 adapt_strides(m_raw.m_shape, m_raw.m_strides, m_raw.m_backstrides);