FilesLast commitLast update
10 months ago
3 months ago
10 months ago
21 days ago
9 months ago
3 months ago
3 months ago
12 days ago
12 days ago
README

NonFiniteCheck

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 ×
Kirin X90 processor series products √
Kirin 9030 processor series products √

Function Description

  • Operator function: checks whether non-finite numbers (+inf, -inf, NaN) exist in the list tensor_list that contains multiple tensors. If a non-finite number exists, found_flag is set to 1. Otherwise, found_flag is set to 0.

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
tensor_list Input List of tensors to be checked FLOAT, FLOAT16, BFLOAT16 ND
found_flag Output Indicates whether non-finite numbers exist in `tensor_list` FLOAT ND
  • Kirin X90/Kirin 9030 processor series products: BFLOAT16 is not supported.

Constraint Description

None

Invocation Description

Invocation Method Invocation Sample Description
Graph-mode invocation test_geir_non_finite_check Invokes the NonFiniteCheck operator by building a graph through the operator IR.