ONE - On-device Neural Engine
|
#include <Evaluator.h>
Public Member Functions | |
DatasetEvaluator (const luci::Module *ref_module, const DataProvider &provider, const ErrorMetric &metric) | |
create Evaluator for comparing output of ref_module on provider | |
DatasetEvaluator ()=delete | |
~DatasetEvaluator ()=default | |
float | evaluate (const luci::Module *trgt_fq_module) const |
evaluate trgt_fq_module (fake-quantized) returns error-metric | |
Definition at line 35 of file Evaluator.h.
DatasetEvaluator::DatasetEvaluator | ( | const luci::Module * | ref_module, |
const DataProvider & | provider, | ||
const ErrorMetric & | metric | ||
) |
create Evaluator for comparing output of ref_module on provider
Definition at line 98 of file Evaluator.cpp.
|
delete |
|
default |
float DatasetEvaluator::evaluate | ( | const luci::Module * | trgt_fq_module | ) | const |
evaluate trgt_fq_module (fake-quantized) returns error-metric
Definition at line 117 of file Evaluator.cpp.
References mpqsolver::core::ErrorMetric::compute().