Compute the exponential of each element in a tensor. There is a method version of this static function: Tensor.exp.
$$e^x : \forall x \in T$$
const t = sm.randn([100]) // equivalent calls const a = t.exp() const b = sm.exp(t)
Tensor whose values will be exponentiated
Generated using TypeDoc
Compute the exponential of each element in a tensor. There is a method version of this static function: Tensor.exp.
$$e^x : \forall x \in T$$
Example
Returns