ArmNN
NotReleased
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
#include <iostream>
9
10
namespace
armnn
11
{
12
template
<
typename
T>
13
struct
maximum
:
public
std::binary_function<T, T, T>
14
{
15
T
16
operator ()
(
const
T& inputData0,
const
T& inputData1)
const
17
{
18
return
std::max(inputData0, inputData1);
19
}
20
};
21
22
}
//namespace armnn
armnn::maximum
Definition:
Maximum.hpp:13
armnn
Definition:
BackendHelper.hpp:11
armnn::maximum::operator()
T operator()(const T &inputData0, const T &inputData1) const
Definition:
Maximum.hpp:16
src
backends
reference
workloads
Maximum.hpp
Generated on Fri Mar 13 2020 16:06:58 for ArmNN by
1.8.13