ArmNN
 25.11
Loading...
Searching...
No Matches
Maximum.hpp
Go to the documentation of this file.
1//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8
9
10namespace armnn
11{
12template<typename T>
13struct maximum
14{
15 typedef T result_type;
17
18 T operator () (const T& inputData0, const T& inputData1) const
19 {
20 return std::max(inputData0, inputData1);
21 }
22};
23} //namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
T operator()(const T &inputData0, const T &inputData1) const
Definition Maximum.hpp:18