aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Minimum.hpp
blob: f1422773ba5ce225d31ff32257a98ce98d5aca9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

namespace armnn
{

template<typename T>
struct minimum
{
    typedef T result_type;
    typedef T first_argument_type;

    T
    operator()(const T& input1, const T& input2) const
    {
        return std::min(input1, input2);
    }
};

} //namespace armnn