ArmNN
 25.11
Loading...
Searching...
No Matches
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
8namespace armnn
9{
10
11template<typename T>
12struct minimum
13{
14 typedef T result_type;
16
17 T
18 operator()(const T& input1, const T& input2) const
19 {
20 return std::min(input1, input2);
21 }
22};
23
24} //namespace armnn
25
Copyright (c) 2021 ARM Limited and Contributors.
T operator()(const T &input1, const T &input2) const
Definition Minimum.hpp:18