20.11
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
armnn
Copyright (c) 2020 ARM Limited.
Definition:
00_introduction.dox:25
armnn::minimum
Definition:
Minimum.hpp:12
armnn::minimum::operator()
T operator()(const T &input1, const T &input2) const
Definition:
Minimum.hpp:15
src
backends
reference
workloads
Minimum.hpp
Generated on Wed Nov 25 2020 09:59:14 for ArmNN by
1.8.13