ArmNN
 24.02
Ceil.hpp
Go to the documentation of this file.
1 //
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 
10 namespace armnn
11 {
12 template<typename T>
13 struct 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
armnn::ceil
Definition: Ceil.hpp:13
armnn::ceil::result_type
T result_type
Definition: Ceil.hpp:15
armnn::ceil::operator()
T operator()(const T &inputData) const
Definition: Ceil.hpp:19
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::ceil::argument_type
T argument_type
Definition: Ceil.hpp:16