sqrt method Null safety

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();