| 394 | |
| 395 | template <typename T, typename U> |
| 396 | void 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 | |
| 407 | template <typename T, typename U, typename = typename std::enable_if<std::is_integral<T>::value>::type> |
| 408 | void validate_wrap(const IAccessor &tensor, const SimpleTensor<T> &reference, U tolerance_value, float tolerance_number) |