sqrt method

Tensor<T> sqrt()

Calculates sqrt(x) (square root) for each element.

Throws ArgumentError if tensor shapes are not equal.

Implementation

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