AI-generated Key Takeaways
-
Defines a custom rule for accuracy validation.
-
The
validate
method checks if aBenchmarkResult
meets accuracy requirements by comparing it togoldenOutput
.
public static interface CustomValidationConfig.AccuracyValidator
Defines custom accuracy validation rule.
Public Method Summary
abstract boolean |
validate(BenchmarkResult
benchmarkResult, ByteBuffer[]
goldenOutput)
Returns whether the
benchmarkResult meets accuracy requirement.
|
Public Methods
public abstract boolean validate (BenchmarkResult benchmarkResult, ByteBuffer[] goldenOutput)
Returns whether the benchmarkResult
meets accuracy requirement.