blob: b99d52c5b91c987cfcbce89b3b834c20e0c0c202 [file] [log] [blame]
Matthew Bentham8800c002018-11-19 13:19:28 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#include "DataLayoutIndexed.hpp"
7
8namespace armnn {
9
10// Definition in include/armnn/Types.hpp
11bool operator==(const DataLayout& dataLayout, const DataLayoutIndexed& indexed)
12{
13 return dataLayout == indexed.GetDataLayout();
14}
15
16// Definition in include/armnn/Types.hpp
17bool operator==(const DataLayoutIndexed& indexed, const DataLayout& dataLayout)
18{
19 return indexed.GetDataLayout() == dataLayout;
20}
21
22}