[object Object][object Object][object Object]undefined
[object Object]
  • Description: Generates random numbers that follow an exponential distribution with the parameter [object Object] and fills the random numbers in the selfRef tensor.
  • Formula:f(x)=1λln(1u),uUniform(0,1]f(x) = -\frac{1}{\lambda} \ln(1 - u), u \sim \text{Uniform}(0, 1]
[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]
  • Return Value

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

    The first-phase API implements input parameter verification. The following errors may be thrown:

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

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

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

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

[object Object]