24.02.1
|
Function to compare two Dimensions objects and throw an error on mismatch. More...
#include <Validate.h>
Public Member Functions | |
compare_dimension (const Dimensions< T > &dim, const char *function, const char *file, int line) | |
Construct a comparison function. More... | |
arm_compute::Status | operator() (const Dimensions< T > &dim) |
Compare the given object against the stored one. More... | |
Function to compare two Dimensions objects and throw an error on mismatch.
[in] | dim | Object to compare against. |
[in] | function | Function in which the error occurred. |
[in] | file | File in which the error occurred. |
[in] | line | Line in which the error occurred. |
Definition at line 72 of file Validate.h.
|
inline |
Construct a comparison function.
[in] | dim | Dimensions to compare. |
[in] | function | Source function. Used for error reporting. |
[in] | file | Source code file. Used for error reporting. |
[in] | line | Source code line. Used for error reporting. |
Definition at line 82 of file Validate.h.
|
inline |
Compare the given object against the stored one.
[in] | dim | To be compared object. |
Definition at line 93 of file Validate.h.
References ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG, and arm_compute::detail::have_different_dimensions().