ArmNN
 20.08
Minimum.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 namespace armnn
9 {
10 
11 template<typename T>
12 struct minimum : public std::binary_function<T, T, T>
13 {
14  T
15  operator()(const T& input1, const T& input2) const
16  {
17  return std::min(input1, input2);
18  }
19 };
20 
21 } //namespace armnn
22 
Copyright (c) 2020 ARM Limited.
T operator()(const T &input1, const T &input2) const
Definition: Minimum.hpp:15