Ceil
English | 简体中文
Product Support Status
| Product | Supported |
|---|---|
| Ascend 950PR&950DT products | √ |
| Atlas A3 products | √ |
| Atlas A2 products | √ |
| Atlas 200I/500 A2 inference products | × |
| Atlas inference products | √ |
| Atlas training products | √ |
Function Description
-
Operator function: returns the result of rounding up each element in the input tensor
-
Computation formula:
yi=⌈xi⌉y_i =⌈x_i⌉
Parameter Description
| Parameter Name | Input/Output/Attribute | Description | Data Type | Data Format |
|---|---|---|---|---|
| x | Input | Input x in the computation formula. | FLOAT16, FLOAT, BFLOAT16 | ND |
| y | Output | Output y in the computation formula. | FLOAT16, FLOAT, BFLOAT16 | ND |
Constraint Description
None
Invocation Description
| Invocation Method | Invocation Sample | Description |
|---|---|---|
| aclnn invocation | test_aclnn_ceil.cpp | Invokes the Ceil operator through the aclnnCeil API. |
| Graph-mode invocation | test_geir_ceil.cpp | Invokes the Ceil operator by building a graph through the operator IR. |