exp method Null safety

Tensor<T> exp()

Calculates exp(x) for each element.

Throws ArgumentError if tensor shapes are not equal.

Implementation

Tensor<T> exp() => (toBuilder()..exp()).build();