blob: 2e415b9c0a84d310128be119401759fe0cd74da6 [file] [log] [blame]
Teresa Charlin93f0ad02023-03-23 15:28:02 +00001//
2// Copyright © 2023 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <iostream>
9
10namespace armnn
11{
12template<typename T>
13struct ceil
14 {
15 typedef T result_type;
16 typedef T argument_type;
17
18 T
19 operator () (const T& inputData) const
20 {
21 return std::ceil(inputData);
22 }
23 };
24
25} //namespace armnn