MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / operator()

Method operator()

arm_compute/core/Validate.h:100–105  ·  view source on GitHub ↗

Compare the given object against the stored one. * * @param[in] dim To be compared object. * * @return a status. */

Source from the content-addressed store, hash-verified

98 * @return a status.
99 */
100 arm_compute::Status operator()(const Dimensions<T> &dim)
101 {
102 ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG(have_different_dimensions(_dim, dim, 0), _function, _file, _line,
103 "Objects have different dimensions");
104 return arm_compute::Status{};
105 }
106
107private:
108 const Dimensions<T> &_dim;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected