2020-07-20 17:36:08 +03:00
|
|
|
## Ceiling <a name="Ceiling"></a> {#openvino_docs_ops_arithmetic_Ceiling_1}
|
2020-06-19 14:39:57 +03:00
|
|
|
|
|
|
|
|
**Versioned name**: *Ceiling-1*
|
|
|
|
|
|
2021-08-23 12:12:46 +02:00
|
|
|
**Category**: *Arithmetic unary*
|
2020-06-19 14:39:57 +03:00
|
|
|
|
|
|
|
|
**Short description**: *Ceiling* performs element-wise ceiling operation with given tensor.
|
|
|
|
|
|
2021-06-18 04:50:02 +02:00
|
|
|
**Detailed description**: For each element from the input tensor calculates corresponding
|
|
|
|
|
element in the output tensor with the following formula:
|
2020-06-19 14:39:57 +03:00
|
|
|
|
2021-06-18 04:50:02 +02:00
|
|
|
\f[
|
2021-08-12 12:11:30 +02:00
|
|
|
a_{i} = \lceil a_{i} \rceil
|
2021-06-18 04:50:02 +02:00
|
|
|
\f]
|
|
|
|
|
|
|
|
|
|
**Attributes**: *Ceiling* operation has no attributes.
|
2020-06-19 14:39:57 +03:00
|
|
|
|
|
|
|
|
**Inputs**
|
|
|
|
|
|
2021-06-18 04:50:02 +02:00
|
|
|
* **1**: A tensor of type *T* and arbitrary shape. **Required.**
|
2020-06-19 14:39:57 +03:00
|
|
|
|
|
|
|
|
**Outputs**
|
|
|
|
|
|
2021-06-18 04:50:02 +02:00
|
|
|
* **1**: The result of element-wise ceiling operation. A tensor of type *T*.
|
2020-06-19 14:39:57 +03:00
|
|
|
|
|
|
|
|
**Types**
|
|
|
|
|
|
|
|
|
|
* *T*: any numeric type.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**Examples**
|
|
|
|
|
|
|
|
|
|
*Example 1*
|
|
|
|
|
|
|
|
|
|
```xml
|
|
|
|
|
<layer ... type="Ceiling">
|
|
|
|
|
<input>
|
|
|
|
|
<port id="0">
|
|
|
|
|
<dim>256</dim>
|
|
|
|
|
<dim>56</dim>
|
|
|
|
|
</port>
|
|
|
|
|
</input>
|
|
|
|
|
<output>
|
|
|
|
|
<port id="1">
|
|
|
|
|
<dim>256</dim>
|
|
|
|
|
<dim>56</dim>
|
|
|
|
|
</port>
|
|
|
|
|
</output>
|
|
|
|
|
</layer>
|
|
|
|
|
```
|