blob: b71c33bbf3f96514cf2d5c9071dec478488b448f [file] [log] [blame]
Teresa Charlin50de4fa2021-05-31 18:47:33 +01001//
2// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <iostream>
9
10namespace armnn
11{
12 template<typename T>
13struct sin : public std::unary_function<T, T>
14 {
15 T
16 operator () (const T& inputData) const
17 {
18 return std::sin(inputData);
19 }
20 };
21
22} //namespace armnn