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

Function error_on_mismatching_shapes

arm_compute/core/Validate.h:482–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480 */
481template <typename... Ts>
482inline arm_compute::Status error_on_mismatching_shapes(const char *function,
483 const char *file,
484 const int line,
485 const ITensorInfo *tensor_info_1,
486 const ITensorInfo *tensor_info_2,
487 Ts... tensor_infos)
488{
489 return error_on_mismatching_shapes(function, file, line, 0U, tensor_info_1, tensor_info_2,
490 std::forward<Ts>(tensor_infos)...);
491}
492/** Return an error if the passed two tensors have different shapes from the given dimension
493 *
494 * @param[in] function Function in which the error occurred.

Callers

nothing calls this directly

Calls 6

error_on_nullptrFunction · 0.85
cbeginMethod · 0.45
cendMethod · 0.45
infoMethod · 0.45

Tested by

no test coverage detected