Public Types | List of all members
Eigen::internal::ReductionReturnType< Op, CoeffReturnType > Struct Template Reference

#include <TensorReduction.h>

Public Types

typedef remove_const< CoeffReturnType >::type type
 

Detailed Description

template<typename Op, typename CoeffReturnType>
struct Eigen::internal::ReductionReturnType< Op, CoeffReturnType >

For SYCL, the return type of the reduction is deduced from the initialize method of the given Op. This allows the reduction to have a different type for the accumulator than the input data type. If this is the case, the functor needs to have two reduce method: one for reducing an element of the input with the accumulator and the other for reducing two accumulators. Such a reducer can be useful for instance when the accumulator is a boolean or a bitset that checks for some properties of the input.

Definition at line 459 of file TensorReduction.h.

Member Typedef Documentation

◆ type

template<typename Op , typename CoeffReturnType >
typedef remove_const<CoeffReturnType>::type Eigen::internal::ReductionReturnType< Op, CoeffReturnType >::type

Definition at line 463 of file TensorReduction.h.


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:45:15