21.08
Sin.hpp
Go to the documentation of this file.
1
//
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
10
namespace
armnn
11
{
12
template
<
typename
T>
13
struct
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
armnn::sin::operator()
T operator()(const T &inputData) const
Definition:
Sin.hpp:16
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_software_tools.dox:6
armnn::sin
Definition:
Sin.hpp:13
src
backends
reference
workloads
Sin.hpp
Generated on Tue Aug 24 2021 16:18:44 for ArmNN by
1.8.13