blob: e4ff6a48296b69ae88a73350b4c322c97edac6da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <iostream>
namespace armnn
{
template<typename T>
struct sqrt : public std::unary_function<T, T>
{
T
operator () (const T& inputData) const
{
return std::sqrt(inputData);
}
};
} //namespace armnn
|