blob: 97df19d3c656a8cda8e93fad3885dceef14d8354 [file] [log] [blame]
saoste012df12b32018-11-28 16:57:20 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <iostream>
9
10namespace armnn
11{
12 template<typename T>
Derek Lambertif30f7d32019-04-09 10:25:02 +010013struct maximum : public std::binary_function<T, T, T>
saoste012df12b32018-11-28 16:57:20 +000014 {
15 T
16 operator () (const T& inputData0, const T& inputData1) const
17 {
18 return std::max(inputData0, inputData1);
19 }
20 };
21
22} //namespace armnn