RecFilter
CheckResult< T > Class Template Reference

Compare ref and Halide solutions and print the mean square error. More...

#include <recfilter.h>

Inherited by CheckResultVerbose< T >.

Public Member Functions

 CheckResult (Halide::Image< T > r, Halide::Image< T > o)
 

Data Fields

float max_diff
 max diff percentage More...
 
float mean_diff
 mean diff percentage More...
 
Halide::Image< T > ref
 reference solution More...
 
Halide::Image< T > out
 Halide solution. More...
 
Halide::Image< float > diff
 pixel wise diff More...
 

Detailed Description

template<typename T>
class CheckResult< T >

Compare ref and Halide solutions and print the mean square error.

Definition at line 794 of file recfilter.h.

Constructor & Destructor Documentation

template<typename T >
CheckResult< T >::CheckResult ( Halide::Image< T >  r,
Halide::Image< T >  o 
)
inline

Definition at line 802 of file recfilter.h.

References CheckResult< T >::diff.

Field Documentation

template<typename T >
float CheckResult< T >::max_diff

max diff percentage

Definition at line 796 of file recfilter.h.

Referenced by operator<<().

template<typename T >
float CheckResult< T >::mean_diff

mean diff percentage

Definition at line 797 of file recfilter.h.

template<typename T >
Halide::Image<T> CheckResult< T >::ref

reference solution

Definition at line 798 of file recfilter.h.

template<typename T >
Halide::Image<T> CheckResult< T >::out

Halide solution.

Definition at line 799 of file recfilter.h.

template<typename T >
Halide::Image<float> CheckResult< T >::diff

pixel wise diff

Definition at line 800 of file recfilter.h.

Referenced by CheckResult< T >::CheckResult().


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