We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68a41ca commit fb82404Copy full SHA for fb82404
1 file changed
scself/_denoise/n2s_denoise.py
@@ -1,7 +1,7 @@
1
import numpy as np
2
import scipy.sparse as sps
3
4
-from ..utils import dot, shrink_array_to_zero_inplace
+from scself.utils import dot
5
from .._noise2self.common import row_normalize
6
from .._noise2self.graph import combine_row_stochastic_graphs
7
@@ -207,6 +207,8 @@ def _denoise_chunk(
207
208
if zero_threshold is not None:
209
210
+ from scself.utils.shrink import shrink_array_to_zero_inplace
211
+
212
if sps.issparse(out):
213
shrink_array_to_zero_inplace(
214
out.data,
0 commit comments