[object Object]

[object Object][object Object]undefined
[object Object]
  • Function: returns the median of all elements after NaNs are ignored.

  • Example:

    [object Object]
[object Object]

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

[object Object]
[object Object]
[object Object]
  • Parameters:

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

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

    The first-phase API performs input parameter validation. The following errors may be returned:

    [object Object]
[object Object]
  • Parameters:

    [object Object]
  • Returns:

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

[object Object]
  • Deterministic compute:

    • aclnnNanMedian defaults to a deterministic implementation.
  • If the data type of self is not FLOAT, FLOAT16, or BFLOAT16, the operator execution may time out due to an overlarge tensor size (an AI CPU error is reported, with reason=[aicpu timeout]). The maximum size for each data type (closely related to the remaining memory of the machine) is as follows:

    • INT64: 150000000
    • UINT8, INT8, INT16, INT32: 725000000
[object Object]

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

[object Object]