Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
uni20::linalg::sum_reduction_op< InputRank, ReducedRank > Struct Template Reference

Sum reduction over one or more fixed-rank input axes. More...

#include <operation_tags.hpp>

Public Attributes

ReductionAxes< InputRank, ReducedRank > axes
 

Static Public Attributes

static constexpr std::string_view name = "sum"
 

Detailed Description

template<std::size_t InputRank, std::size_t ReducedRank>
struct uni20::linalg::sum_reduction_op< InputRank, ReducedRank >

Sum reduction over one or more fixed-rank input axes.

The diagnostic name remains the user-facing operation name while the C++ type makes its reduction role explicit.

Member Data Documentation

◆ axes

template<std::size_t InputRank, std::size_t ReducedRank>
ReductionAxes<InputRank, ReducedRank> uni20::linalg::sum_reduction_op< InputRank, ReducedRank >::axes

◆ name

template<std::size_t InputRank, std::size_t ReducedRank>
constexpr std::string_view uni20::linalg::sum_reduction_op< InputRank, ReducedRank >::name = "sum"
staticconstexpr

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