| 73 | */ |
| 74 | template <typename E> |
| 75 | bool 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 |
no test coverage detected