blob: 8ff78b4e8a109c1eaab3079fa131f9fe15feaa84 [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{
Matthew Bentham9734f092022-05-16 12:04:58 +010012template<typename T>
13struct sin
Teresa Charlin50de4fa2021-05-31 18:47:33 +010014 {
Matthew Bentham9734f092022-05-16 12:04:58 +010015 typedef T result_type;
16 typedef T argument_type;
17
Teresa Charlin50de4fa2021-05-31 18:47:33 +010018 T
19 operator () (const T& inputData) const
20 {
21 return std::sin(inputData);
22 }
23 };
24
25} //namespace armnn