ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
mpqsolver::core::ErrorMetric Class Referenceabstract

#include <ErrorMetric.h>

Public Member Functions

virtual ~ErrorMetric ()=default
 
virtual float compute (const WholeOutput &first, const WholeOutput &second) const =0
 abstract method for comparing first and second operands
 

Detailed Description

Definition at line 31 of file ErrorMetric.h.

Constructor & Destructor Documentation

◆ ~ErrorMetric()

virtual mpqsolver::core::ErrorMetric::~ErrorMetric ( )
virtualdefault

Member Function Documentation

◆ compute()

virtual float mpqsolver::core::ErrorMetric::compute ( const WholeOutput first,
const WholeOutput second 
) const
pure virtual

abstract method for comparing first and second operands

Implemented in mpqsolver::core::MAEMetric.

Referenced by mpqsolver::core::DatasetEvaluator::evaluate().


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