Expression Templates Library (ETL)
Classes | Functions
mse.hpp File Reference

Selector for the Mean Squared Error reduction implementations. More...

#include "etl/impl/std/mse.hpp"
#include "etl/impl/egblas/mse.hpp"
Include dependency graph for mse.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  etl::detail::mse_impl
 Sum operation implementation. More...
 
struct  etl::detail::mse_loss_impl
 Sum operation implementation. More...
 
struct  etl::detail::mse_error_impl
 Sum operation implementation. More...
 

Functions

template<typename O , typename L >
constexpr etl::mse_impl etl::detail::select_mse_impl ()
 Select the MSE implementation for an expression of type E. More...
 
template<typename O , typename L >
constexpr etl::mse_impl etl::detail::select_mse_loss_impl ()
 Select the MSE implementation for an expression of type E. More...
 
template<typename O , typename L >
constexpr etl::mse_impl etl::detail::select_mse_error_impl ()
 Select the MSE implementation for an expression of type E. More...
 

Detailed Description

Selector for the Mean Squared Error reduction implementations.

The functions are responsible for selecting the most efficient implementation for each case, based on what is available.

Function Documentation

◆ select_mse_error_impl()

template<typename O , typename L >
constexpr etl::mse_impl etl::detail::select_mse_error_impl ( )

Select the MSE implementation for an expression of type E.

Template Parameters
EThe type of expression
Returns
The implementation to use

◆ select_mse_impl()

template<typename O , typename L >
constexpr etl::mse_impl etl::detail::select_mse_impl ( )

Select the MSE implementation for an expression of type E.

Template Parameters
EThe type of expression
Returns
The implementation to use

◆ select_mse_loss_impl()

template<typename O , typename L >
constexpr etl::mse_impl etl::detail::select_mse_loss_impl ( )

Select the MSE implementation for an expression of type E.

Template Parameters
EThe type of expression
Returns
The implementation to use