We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfa3713 commit b4e76d1Copy full SHA for b4e76d1
bioimageio/core/stat_calculators.py
@@ -183,7 +183,7 @@ def finalize(
183
else:
184
assert self._m2 is not None
185
var = self._m2 / self._n
186
- sqrt = np.sqrt(var)
+ sqrt = var**0.5
187
if isinstance(sqrt, (int, float)):
188
# var and mean are scalar tensors, let's keep it consistent
189
sqrt = Tensor.from_xarray(xr.DataArray(sqrt))
0 commit comments