Neuralyzer::Gather::BoundReducer
Neuralyzer::Gather::BoundReducer
Result of binding a pipeline to produce a reducer. More…
#include <ViewAdaptorTypes.hpp>
Public Attributes
| Name | |
|---|---|
| ReducerFn< InElement, Scalar > | reducer The reducer function. |
| bool | requires_context Whether the reducer requires context. |
| std::type_index | input_type Input element type. |
| std::type_index | output_type Output scalar type. |
| std::type_index | intermediate_type Intermediate element type (output of transforms before reduction). |
Detailed Description
template <typename InElement ,
typename Scalar >
struct Neuralyzer::Gather::BoundReducer;Result of binding a pipeline to produce a reducer. ## Public Attributes Documentation
variable reducer
ReducerFn< InElement, Scalar > reducer;The reducer function.
variable requires_context
bool requires_context {false};Whether the reducer requires context.
variable input_type
std::type_index input_type = typeid(InElement);Input element type.
variable output_type
std::type_index output_type = typeid(Scalar);Output scalar type.
variable intermediate_type
std::type_index intermediate_type = typeid(void);Intermediate element type (output of transforms before reduction).
Updated on 2026-11-13 at 20:25:41 +0000