xtensor
|
Public Types | |
using | self_type = xblockwise_reducer<CT, F, X, O> |
using | raw_options_type = std::decay_t<O> |
using | keep_dims = xtl::mpl::contains<raw_options_type, xt::keep_dims_type> |
using | xexpression_type = std::decay_t<CT> |
using | shape_type = typename xreducer_shape_type<typename xexpression_type::shape_type, std::decay_t<X>, keep_dims>::type |
using | functor_type = F |
using | value_type = typename functor_type::value_type |
using | input_shape_type = typename xexpression_type::shape_type |
using | input_chunk_index_type = filter_fixed_shape_t<input_shape_type> |
using | input_grid_strides = filter_fixed_shape_t<input_shape_type> |
using | axes_type = X |
using | chunk_shape_type = filter_fixed_shape_t<shape_type> |
Public Member Functions | |
template<class E , class BS , class XX , class OO , class FF > | |
xblockwise_reducer (E &&e, BS &&block_shape, XX &&axes, OO &&options, FF &&functor) | |
const input_shape_type & | input_shape () const |
const axes_type & | axes () const |
std::size_t | dimension () const |
const shape_type & | shape () const |
const chunk_shape_type & | chunk_shape () const |
template<class R > | |
void | assign_to (R &result) const |
template<class CI > | |
auto | compute_input_chunk_range (CI &result_chunk_iter) const -> input_chunk_range_type |
Definition at line 15 of file xblockwise_reducer.hpp.
Definition at line 29 of file xblockwise_reducer.hpp.
Definition at line 30 of file xblockwise_reducer.hpp.
Definition at line 24 of file xblockwise_reducer.hpp.
using xt::xblockwise_reducer< CT, F, X, O >::input_chunk_index_type = filter_fixed_shape_t<input_shape_type> |
Definition at line 27 of file xblockwise_reducer.hpp.
using xt::xblockwise_reducer< CT, F, X, O >::input_grid_strides = filter_fixed_shape_t<input_shape_type> |
Definition at line 28 of file xblockwise_reducer.hpp.
using xt::xblockwise_reducer< CT, F, X, O >::input_shape_type = typename xexpression_type::shape_type |
Definition at line 26 of file xblockwise_reducer.hpp.
using xt::xblockwise_reducer< CT, F, X, O >::keep_dims = xtl::mpl::contains<raw_options_type, xt::keep_dims_type> |
Definition at line 21 of file xblockwise_reducer.hpp.
Definition at line 20 of file xblockwise_reducer.hpp.
Definition at line 19 of file xblockwise_reducer.hpp.
using xt::xblockwise_reducer< CT, F, X, O >::shape_type = typename xreducer_shape_type<typename xexpression_type::shape_type, std::decay_t<X>, keep_dims>::type |
Definition at line 23 of file xblockwise_reducer.hpp.
Definition at line 25 of file xblockwise_reducer.hpp.
Definition at line 22 of file xblockwise_reducer.hpp.
xt::xblockwise_reducer< CT, F, X, O >::xblockwise_reducer | ( | E && | e, |
BS && | block_shape, | ||
XX && | axes, | ||
OO && | options, | ||
FF && | functor ) |
Definition at line 77 of file xblockwise_reducer.hpp.
Definition at line 131 of file xblockwise_reducer.hpp.
Definition at line 106 of file xblockwise_reducer.hpp.
Definition at line 124 of file xblockwise_reducer.hpp.
auto xt::xblockwise_reducer< CT, F, X, O >::compute_input_chunk_range | ( | CI & | result_chunk_iter | ) | const -> input_chunk_range_type |
Definition at line 189 of file xblockwise_reducer.hpp.
|
inline |
Definition at line 112 of file xblockwise_reducer.hpp.
Definition at line 100 of file xblockwise_reducer.hpp.
Definition at line 118 of file xblockwise_reducer.hpp.