ArmNN
 25.11
Loading...
Searching...
No Matches
Exp.hpp
Go to the documentation of this file.
1//
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{
12template<typename T>
13struct exp
14 {
15 typedef T result_type;
16 typedef T argument_type;
17
18 T
19 operator () (const T& inputData) const
20 {
21 return std::exp(inputData);
22 }
23 };
24
25} //namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
T operator()(const T &inputData) const
Definition Exp.hpp:19
T result_type
Definition Exp.hpp:15
T argument_type
Definition Exp.hpp:16