Neuralyzer::Transforms::V2::IRangeReductionParamExecutor
Neuralyzer::Transforms::V2::IRangeReductionParamExecutor
Interface for executing reductions with captured parameters. More…
#include <RangeReductionRegistry.hpp>
Inherited by Neuralyzer::Transforms::V2::TypedRangeReductionParamExecutor< Element, Scalar, Params >
Public Functions
| Name | |
|---|---|
| virtual | ~IRangeReductionParamExecutor() =default |
| virtual std::any | execute(std::any const & input_range) const =0 Execute reduction with captured parameters and function. |
| virtual std::type_index | outputType() const =0 Get the output type index for this executor. |
Detailed Description
class Neuralyzer::Transforms::V2::IRangeReductionParamExecutor;Interface for executing reductions with captured parameters.
This allows the pipeline to execute reductions without knowing the parameter type - parameters are captured at construction time.
Public Functions Documentation
function ~IRangeReductionParamExecutor
virtual ~IRangeReductionParamExecutor() =defaultfunction execute
virtual std::any execute(
std::any const & input_range
) const =0Execute reduction with captured parameters and function.
Parameters:
- input_range std::any containing std::span
Return: std::any containing the scalar result
Reimplemented by: Neuralyzer::Transforms::V2::TypedRangeReductionParamExecutor::execute
function outputType
virtual std::type_index outputType() const =0Get the output type index for this executor.
Reimplemented by: Neuralyzer::Transforms::V2::TypedRangeReductionParamExecutor::outputType
Updated on 2026-11-13 at 20:25:41 +0000