blob: 1b8e6c3c74b1d6f1616157e15ef1a3fde092f0a2 [file] [log] [blame]
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <iostream>
namespace armnn
{
template<typename T>
struct rsqrt
{
typedef T result_type;
typedef T argument_type;
T
operator () (const T& inputData) const
{
return 1 / std::sqrt(inputData);
}
};
} //namespace armnn