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

Function is_in

src/common/utils/Utils.h:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 */
74template <typename E>
75bool is_in(E check, std::initializer_list<E> list)
76{
77 return std::any_of(list.begin(), list.end(), [&check](E e) { return check == e; });
78}
79} // namespace utils
80} // namespace arm_compute
81

Callers 3

is_target_validFunction · 0.85
is_mode_validFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected