aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Sin.hpp
blob: b71c33bbf3f96514cf2d5c9071dec478488b448f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <iostream>

namespace armnn
{
    template<typename T>
struct sin : public std::unary_function<T, T>
    {
        T
        operator () (const T&  inputData) const
        {
            return std::sin(inputData);
        }
    };

} //namespace armnn