exp (Function)
Signature: exp(x: float) -> float
Description: e raised to a float. Total: a large argument yields infinity, never an Arith operation. Pure, so softmax kernels name it directly.
Parameters
- x (float): The exponent
Returns: float
Example
scores |> gpuMap(exp)
scores |> gpuMap exp