diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-03-30 10:03:01 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-03-31 11:44:07 +0000 |
commit | c6f9510bcb754afaadfe9477ff85d6c55ffcf43b (patch) | |
tree | c1b08777a93ab9d2e334c71acf30f337bdb3feda /src/core/Validate.cpp | |
parent | 2788609b8a10306e9eae47543b39812a7b075aaa (diff) | |
download | ComputeLibrary-c6f9510bcb754afaadfe9477ff85d6c55ffcf43b.tar.gz |
Remove Computer Vision generic interfaces and types
Removes:
- reference validation routines
- CV related types and structures
- CV related interfaces
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I3a203da12d9b04c154059b190aeba18a611149a9
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5340
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/Validate.cpp')
-rw-r--r-- | src/core/Validate.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/core/Validate.cpp b/src/core/Validate.cpp index 8bb507921a..5a6486e11e 100644 --- a/src/core/Validate.cpp +++ b/src/core/Validate.cpp @@ -141,28 +141,6 @@ arm_compute::Status arm_compute::error_on_channel_not_in_known_format(const char return arm_compute::Status{}; } -arm_compute::Status arm_compute::error_on_invalid_multi_hog(const char *function, const char *file, const int line, - const arm_compute::IMultiHOG *multi_hog) -{ - ARM_COMPUTE_RETURN_ERROR_ON_LOC(nullptr == multi_hog, function, file, line); - ARM_COMPUTE_RETURN_ERROR_ON_LOC(0 == multi_hog->num_models(), function, file, line); - - for(size_t i = 1; i < multi_hog->num_models(); ++i) - { - ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG(multi_hog->model(0)->info()->phase_type() != multi_hog->model(i)->info()->phase_type(), - function, file, line, - "All HOG parameters must have the same phase type"); - ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG(multi_hog->model(0)->info()->normalization_type() != multi_hog->model(i)->info()->normalization_type(), - function, file, line, - "All HOG parameters must have the same normalization type"); - ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG((multi_hog->model(0)->info()->l2_hyst_threshold() != multi_hog->model(i)->info()->l2_hyst_threshold()) - && (multi_hog->model(0)->info()->normalization_type() == arm_compute::HOGNormType::L2HYS_NORM), - function, file, line, - "All HOG parameters must have the same l2 hysteresis threshold if you use L2 hysteresis normalization type"); - } - return arm_compute::Status{}; -} - arm_compute::Status arm_compute::error_on_unconfigured_kernel(const char *function, const char *file, const int line, const arm_compute::IKernel *kernel) { |