[object Object][object Object][object Object]undefined
[object Object]
  • Function: Copies the elements in src to the selfRef tensor and returns the selfRef tensor.

  • Formula:

    selfRefi=srci{selfRef}_{i} = {src}_{i}
  • Example:

    [object Object]
[object Object]

Each operator has calls. First, [object Object] is called to obtain the input parameters and compute the required workspace size based on the process. Then, [object Object] is called to perform computation.

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

    [object Object]
  • 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]
  • Parameters:

    [object Object]
  • Returns:

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

[object Object]
  • Deterministic computing:
    • [object Object] defaults to a deterministic implementation.

When the data types of [object Object] and [object Object] are inconsistent, the conversion rules for floating-point types (HIFLOAT8, FLOAT8_E5M2, and FLOAT8_E4M3FN) are as follows:

  • HIFLOAT8 -> FLOAT32, BFLOAT16, FLOAT16
  • FLOAT8_E5M2 -> FLOAT32, BFLOAT16, FLOAT16
  • FLOAT8_E4M3FN -> FLOAT32, BFLOAT16, FLOAT16
  • BFLOAT16 -> HIFLOAT8
  • FLOAT16 -> HIFLOAT8
  • FLOAT32 -> HIFLOAT8, FLOAT8_E5M2, FLOAT8_E4M3FN
[object Object]

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

[object Object]