[object Object]

[object Object][object Object]undefined
[object Object]
  • Function: Determines which elements of the input tensor are finite values, that is, not inf, -inf, or NaN.
  • Formulas:outi=(inputi!=±inf)and(inputi!=nan)out_i=(input_i != \pm inf) \: and \: (input_i!= nan)
[object Object]

Each operator has calls. First, aclnnIsFiniteGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnIsFinite is called to perform computation.

[object Object]
[object Object]
[object Object]
  • Parameter description:

    [object Object]
    • The [object Object]Atlas training products[object Object] and [object Object]Atlas inference products[object Object] do not support BFLOAT16.
  • Returns

    [object Object]: status code. For details, see .

    The first-phase API implements input parameter validation. The following error codes may be returned.

    [object Object]
[object Object]
  • Parameter description:

    [object Object]
  • Returns

    [object Object]: status code. For details, see .

[object Object]
  • Deterministic computation:
    • The default deterministic implementation of aclnnIsFinite is used.
[object Object]

The following example is for reference only. For details, see .

[object Object]