MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / validate

Function validate

tests/validation/Validation.h:396–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394
395template <typename T, typename U>
396void validate(const IAccessor &tensor,
397 const SimpleTensor<T> &reference,
398 U tolerance_value,
399 float tolerance_number,
400 float absolute_tolerance_value)
401{
402 // Validate with valid region covering the entire shape
403 validate(tensor, reference, shape_to_valid_region(reference.shape()), tolerance_value, tolerance_number,
404 absolute_tolerance_value);
405}
406
407template <typename T, typename U, typename = typename std::enable_if<std::is_integral<T>::value>::type>
408void validate_wrap(const IAccessor &tensor, const SimpleTensor<T> &reference, U tolerance_value, float tolerance_number)

Calls 15

shape_to_valid_regionFunction · 0.85
compare_dimensionsFunction · 0.85
index2coordFunction · 0.85
is_in_valid_regionFunction · 0.85
make_printableFunction · 0.85
ARM_COMPUTE_PRINT_INFOFunction · 0.85
configure_onlyMethod · 0.80
new_fixture_callMethod · 0.80
num_iterationsMethod · 0.80
get_seedMethod · 0.80
permuteFunction · 0.50
shapeMethod · 0.45

Tested by 2

test_specific_case_int8Function · 0.40