blob: 9440bf675582d3096ceee21f20bb39425898f225 [file] [log] [blame]
josh minor4a3c6102020-01-06 16:40:46 -06001//
2// Copyright © 2019 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <iostream>
9
10namespace armnn
11{
Matthew Bentham9734f092022-05-16 12:04:58 +010012template<typename T>
13struct exp
josh minor4a3c6102020-01-06 16:40:46 -060014 {
Matthew Bentham9734f092022-05-16 12:04:58 +010015 typedef T result_type;
16 typedef T argument_type;
17
josh minor4a3c6102020-01-06 16:40:46 -060018 T
19 operator () (const T& inputData) const
20 {
21 return std::exp(inputData);
22 }
23 };
24
25} //namespace armnn