Skip to main content

Neuralyzer::Transforms::V2::RangeReductionStep

Neuralyzer::Transforms::V2::RangeReductionStep

Descriptor for a terminal range reduction in a pipeline. More…

#include <RangeReductionStep.hpp>

Public Functions

Name
RangeReductionStep() =default
template <typename Params >
RangeReductionStep(std::string name, Params p)

Public Attributes

Name
std::string reduction_name
Name of the registered range reduction.
std::any params
Type-erased parameters for the reduction.
std::type_index input_type
Input element type (for validation).
std::type_index output_type
Output scalar type.
std::type_index params_type
Parameter type.

Detailed Description

struct Neuralyzer::Transforms::V2::RangeReductionStep;

Descriptor for a terminal range reduction in a pipeline.

This is stored in TransformPipeline when setRangeReduction() is called. It contains the reduction name and type-erased parameters.

Public Functions Documentation

function RangeReductionStep

RangeReductionStep() =default

function RangeReductionStep

template <typename Params >
inline RangeReductionStep(
    std::string name,
    Params p
)

Public Attributes Documentation

variable reduction_name

std::string reduction_name;

Name of the registered range reduction.

variable params

std::any params;

Type-erased parameters for the reduction.

variable input_type

std::type_index input_type = typeid(void);

Input element type (for validation).

variable output_type

std::type_index output_type = typeid(void);

Output scalar type.

variable params_type

std::type_index params_type = typeid(void);

Parameter type.


Updated on 2026-11-13 at 20:25:41 +0000