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