FilesLast commitLast update
16 days ago
11 days ago
3 months ago
1 month ago
11 days ago
3 days ago
2 months ago
11 days ago
3 days ago
1 month ago
9 days ago
README

Floor

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: computes the floor of each element in the input tensor and writes the result back to the input tensor.

  • Computation formula:

    outi=floor(selfi)out_{i} =floor(self_{i})

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input Input tensor self_i in the formula FLOAT16, BFLOAT16, FLOAT ND
y Output Output tensor out_i in the formula FLOAT16, BFLOAT16, FLOAT ND

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_floor Invokes the floor operator through the aclnnFloor and aclnnInplaceFloor APIs