blob: e4ff6a48296b69ae88a73350b4c322c97edac6da [file] [log] [blame]
josh minor4a3c6102020-01-06 16:40:46 -06001//
2// Copyright © 2019 Arm Ltd. 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 sqrt : public std::unary_function<T, T>
14 {
15 T
16 operator () (const T& inputData) const
17 {
18 return std::sqrt(inputData);
19 }
20 };
21
22} //namespace armnn